about summary refs log tree commit diff
path: root/bskyembed/src/main.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'bskyembed/src/main.tsx')
-rw-r--r--bskyembed/src/main.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/bskyembed/src/main.tsx b/bskyembed/src/main.tsx
new file mode 100644
index 000000000..349f0ee78
--- /dev/null
+++ b/bskyembed/src/main.tsx
@@ -0,0 +1,9 @@
+import './index.css'
+
+import {h, render} from 'preact'
+
+import {App} from './app'
+
+const root = document.getElementById('app')
+if (!root) throw new Error('No root element')
+render(<App />, root)