Skip to content

Commit

Permalink
fix: lazy load research page
Browse files Browse the repository at this point in the history
  • Loading branch information
NoamGaash committed Dec 16, 2023
1 parent b7554fd commit 611447e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const SingleLineMapPage = lazy(() => import('../pages/singleLineMap'))
const About = lazy(() => import('../pages/about'))
const Profile = lazy(() => import('../pages/Profile'))
const BugReportForm = lazy(() => import('../pages/BugReportForm '))
const DataResearch = lazy(() =>
import('../pages/DataResearch/DataResearch').then((m) => ({ default: m.DataResearch })),
)

import {
RadarChartOutlined,
Expand All @@ -22,7 +25,6 @@ import {
LineChartOutlined,
} from '@ant-design/icons'
import { MainRoute } from './MainRoute'
import { DataResearch } from 'src/pages/DataResearch/DataResearch'

export const PAGES = [
{
Expand Down

0 comments on commit 611447e

Please sign in to comment.