remove react

This commit is contained in:
2025-05-27 12:47:18 +02:00
parent 10ba53626f
commit a4765ebc91
5 changed files with 151 additions and 7 deletions

6
web/src/main.ts Normal file
View File

@@ -0,0 +1,6 @@
function main(): number {
return 0;
}
let c = main();
if (!!c) console.error(`main returned failure, code: ${c}`);

View File

@@ -1,5 +0,0 @@
import React from 'react'
import { createRoot } from 'react-dom/client'
const Main = () => <h1>Hello, World</h1>
createRoot(document.getElementById("root")!).render(<Main />)