feat: list feed rendering

This commit is contained in:
2023-10-12 16:28:30 +01:00
parent 01af3a3a58
commit f5aa898631
4 changed files with 46 additions and 1 deletions

View File

@ -20,6 +20,7 @@ import {
PowWorker,
} from "@snort/system";
import { SnortContext } from "@snort/system-react";
import { removeUndefined } from "@snort/shared";
import * as serviceWorkerRegistration from "serviceWorkerRegistration";
import { IntlProvider } from "IntlProvider";
@ -48,7 +49,7 @@ import { preload, RelayMetrics, SystemDb, UserCache, UserRelays } from "Cache";
import { LoginStore } from "Login";
import { SnortDeckLayout } from "Pages/DeckLayout";
import FreeNostrAddressPage from "./Pages/FreeNostrAddressPage";
import { removeUndefined } from "@snort/shared";
import { ListFeedPage } from "Pages/ListFeedPage";
const WasmQueryOptimizer = {
expandFilter: (f: ReqFilter) => {
@ -221,6 +222,10 @@ export const router = createBrowserRouter([
path: "/zap-pool",
element: <ZapPoolPage />,
},
{
path: "/list-feed/:id",
element: <ListFeedPage />,
},
...NewUserRoutes,
...WalletRoutes,
...(CONFIG.features.subscriptions ? SubscribeRoutes : []),