diff --git a/src/components/Root.tsx b/src/components/Root.tsx index 9c45f111..ade7d784 100644 --- a/src/components/Root.tsx +++ b/src/components/Root.tsx @@ -44,7 +44,7 @@ type RootSearchParams = { } const pagesMap: Record> = { - layout: LayoutShoutsPage, + expo: LayoutShoutsPage, connect: ConnectPage, create: CreatePage, home: HomePage, diff --git a/src/stores/router.ts b/src/stores/router.ts index 06792cb5..58fddaea 100644 --- a/src/stores/router.ts +++ b/src/stores/router.ts @@ -25,7 +25,7 @@ export interface Routes { projects: void termsOfUse: void thanks: void - layout: 'layout' + expo: 'layout' } const searchParamsStore = createSearchParams() @@ -51,7 +51,7 @@ const routerStore = createRouter( projects: '/about/projects', termsOfUse: '/about/terms-of-use', thanks: '/about/thanks', - layout: 'layout/:layout' + expo: '/expo/:layout' }, { search: false,