Skip to content

Commit

Permalink
lazy load help page
Browse files Browse the repository at this point in the history
  • Loading branch information
codyzu committed Feb 14, 2024
1 parent 1bf8ed6 commit bd3eaa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routes.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {lazy} from 'react';
import {type RouteObject, redirect} from 'react-router-dom';
import ErrorPage from './pages/ErrorPage.tsx';
import Help from './pages/Help.tsx';

const Audience = lazy(async () => import('./pages/Audience.tsx'));
const Speaker = lazy(async () => import('./pages/Speaker.tsx'));
Expand All @@ -14,6 +13,7 @@ const PresentationPreferences = lazy(
);
const UserPreferences = lazy(async () => import('./pages/UserPreferences.tsx'));
const Viewer = lazy(async () => import('./pages/Viewer.tsx'));
const Help = lazy(async () => import('./pages/Help.tsx'));

const Routes: RouteObject[] = [
{
Expand Down

0 comments on commit bd3eaa7

Please sign in to comment.