// @ts-nocheck // This file is generated by Umi automatically // DO NOT CHANGE IT MANUALLY! import routeProps from './routeProps'; if (process.env.NODE_ENV === 'development') { Object.entries(routeProps).forEach(([key, value]) => { const internalProps = ['path', 'id', 'parentId', 'isLayout', 'isWrapper', 'layout', 'clientLoader']; Object.keys(value).forEach((prop) => { if (internalProps.includes(prop)) { throw new Error( `[UmiJS] route '${key}' should not have '${prop}' prop, please remove this property in 'routeProps'.` ) } }) }) } import React from 'react'; export async function getRoutes() { const routes = {"duty/DutyTable":{"path":"duty/DutyTable","id":"duty/DutyTable"},"logs/Logs":{"path":"logs/Logs","id":"logs/Logs"}} as const; return { routes, routeComponents: { 'duty/DutyTable': React.lazy(() => import(/* webpackChunkName: "src__pages__duty__DutyTable" */'../../../src/pages/duty/DutyTable.tsx')), 'logs/Logs': React.lazy(() => import(/* webpackChunkName: "src__pages__logs__Logs" */'../../../src/pages/logs/Logs.tsx')), }, }; }