forked from coracle/caravel
Remove a lot of ceremony from frontend state management
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user