mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-12 22:00:02 -04:00
POC for firebase peer discovery
This commit is contained in:
parent
68d5601c3c
commit
091339a8a0
9 changed files with 6839 additions and 183 deletions
|
@ -3,8 +3,9 @@ import { h, render } from 'preact'
|
|||
import 'preact/devtools';
|
||||
import App from "./App";
|
||||
|
||||
|
||||
const container = document.getElementById("app") as HTMLElement;
|
||||
let app = <App />;
|
||||
console.log(app);
|
||||
render(<App />, container);
|
||||
window.addEventListener("load", () => {
|
||||
const container = document.getElementById("app") as HTMLElement;
|
||||
let app = <App />;
|
||||
console.log(app);
|
||||
render(<App />, container);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue