Files
spacedrive/interface/app/$libraryId/debug/index.ts
Brendan Allan 408499229b Sync settings page (#2460)
sync settings page
2024-05-07 07:39:22 +00:00

21 lines
487 B
TypeScript

import { RouteObject } from 'react-router';
export const debugRoutes = [
{ path: 'cloud', lazy: () => import('./cloud') },
{ path: 'actors', lazy: () => import('./actors') },
{
path: 'p2p',
lazy: () => import('./p2p'),
children: [
{
path: 'overview',
lazy: () => import('./p2p').then((m) => ({ Component: m.Overview }))
},
{
path: 'remote',
lazy: () => import('./p2p').then((m) => ({ Component: m.RemotePeers }))
}
]
}
] satisfies RouteObject[];