Skip to content

Commit

Permalink
templates fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atellmer committed Feb 24, 2024
1 parent 9f97303 commit d9f14b2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions templates/server/frontend/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,18 @@ import { type Api } from '../../contract';
import { Key } from '../api';
import { GlobalStyle, Spinner, Root, Header, Menu, Content } from './ui';

const Products = lazy(() => import('./products'));
const Operations = lazy(() => import('./operations'));
const Invoices = lazy(() => import('./invoices'));
const routes: Routes = [
{
path: 'products',
component: Products,
component: lazy(() => import('./products')),
},
{
path: 'operations',
component: Operations,
component: lazy(() => import('./operations')),
},
{
path: 'invoices',
component: Invoices,
component: lazy(() => import('./invoices')),
},
{
path: '',
Expand Down

0 comments on commit d9f14b2

Please sign in to comment.