expo route fix
This commit is contained in:
parent
eea5ace088
commit
cddc9d6a67
|
@ -44,7 +44,7 @@ type RootSearchParams = {
|
|||
}
|
||||
|
||||
const pagesMap: Record<keyof Routes, Component<PageProps>> = {
|
||||
layout: LayoutShoutsPage,
|
||||
expo: LayoutShoutsPage,
|
||||
connect: ConnectPage,
|
||||
create: CreatePage,
|
||||
home: HomePage,
|
||||
|
|
|
@ -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<Routes>(
|
|||
projects: '/about/projects',
|
||||
termsOfUse: '/about/terms-of-use',
|
||||
thanks: '/about/thanks',
|
||||
layout: 'layout/:layout'
|
||||
expo: '/expo/:layout'
|
||||
},
|
||||
{
|
||||
search: false,
|
||||
|
|
Loading…
Reference in New Issue
Block a user