You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
378 B
20 lines
378 B
import { FC } from 'react'
|
|
import { Dispatch } from 'redux'
|
|
import Home from '../components/pages/home'
|
|
|
|
export interface Route {
|
|
id: string
|
|
path: string
|
|
component: FC
|
|
fetchInitialData?: (dispatch: Dispatch, ...args: any[]) => void
|
|
}
|
|
|
|
const routes: Route[] = [
|
|
{
|
|
id: 'home',
|
|
path: '/',
|
|
component: Home,
|
|
}
|
|
]
|
|
|
|
export default routes
|