feat: pubkey stream loading

chore: faster stream navigation
This commit is contained in:
2023-08-01 16:54:06 +01:00
parent 74c1a383b6
commit 90a7d2ca7e
7 changed files with 72 additions and 18 deletions

View File

@ -15,6 +15,7 @@ import { ChatPopout } from "pages/chat-popout";
import { LoginStore } from "login";
import { StreamProvidersPage } from "pages/providers";
import { defaultRelays } from "const";
import { CatchAllRoutePage } from "pages/catch-all";
export enum StreamState {
Live = "live",
@ -58,6 +59,10 @@ const router = createBrowserRouter([
path: "/providers/:id?",
element: <StreamProvidersPage />,
},
{
path: "*",
element: <CatchAllRoutePage />
}
],
},
{