Skip to content

Commit

Permalink
inbox page lazy import commented
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitmalhotra1420 committed Oct 18, 2024
1 parent c74b5c3 commit 2111afc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/structure/MasterInterfacePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const ChatPage = lazy(() => import('pages/ChatPage'));
const ComingSoonPage = lazy(() => import('pages/ComingSoonPage'));
const FAQPage = lazy(() => import('pages/FAQPage'));
const GovPage = lazy(() => import('pages/GovPage'));
const InboxPage = lazy(() => import('pages/InboxPage'));
//const InboxPage = lazy(() => import('pages/InboxPage'));
const InternalDevPage = lazy(() => import('pages/InternalDevPage'));
const NFTPage = lazy(() => import('pages/NFTPage'));
const NotAvailablePage = lazy(() => import('pages/NotAvailablePage'));
Expand Down Expand Up @@ -79,6 +79,7 @@ import SnapPage from 'pages/SnapPage';
import { AppContextType } from 'types/context';
import { useBlocksTheme } from 'blocks/Blocks.hooks';
import { ModeProp } from 'blocks';
import InboxPage from 'pages/InboxPage';

const rewardsPointsPagePaths = [APP_PATHS.Rewards, APP_PATHS.RewardsActivities, APP_PATHS.RewardsLeaderboard];

Expand Down Expand Up @@ -224,7 +225,12 @@ function MasterInterfacePage() {

<Route
path={APP_PATHS.YieldV2}
element={<Navigate to={APP_PATHS.Yield} replace />}
element={
<Navigate
to={APP_PATHS.Yield}
replace
/>
}
/>
<Route
path={APP_PATHS.Yield}
Expand Down

0 comments on commit 2111afc

Please sign in to comment.