Remove a lot of ceremony from frontend state management

This commit is contained in:
Jon Staab
2026-03-26 17:07:44 -07:00
parent a2f9ca9688
commit 6415bcd7b7
15 changed files with 188 additions and 415 deletions
+1 -2
View File
@@ -2,13 +2,12 @@
import { render } from "solid-js/web"
import "./index.css"
import App from "./App"
import { PLATFORM_NAME, restoreAccounts } from "./lib/nostr"
import { PLATFORM_NAME } from "./lib/hooks"
const root = document.getElementById("root")!
document.title = PLATFORM_NAME
import("preline").then(() => {
restoreAccounts()
render(() => <App />, root)
})