Skip to content

Commit

Permalink
Fix loading on page
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Oct 29, 2024
1 parent dd5db7e commit 8d87694
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion centrifuge-app/src/components/LayoutBase/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as React from 'react'
import { Outlet } from 'react-router'
import { useIsAboveBreakpoint } from '../../utils/useIsAboveBreakpoint'
import { Footer } from '../Footer'
import { LoadBoundary } from '../LoadBoundary'
import { LogoLink } from '../LogoLink-deprecated'
import { Menu } from '../Menu'
import { BasePadding } from './BasePadding'
Expand Down Expand Up @@ -57,7 +58,9 @@ export function LayoutBase(): JSX.Element {
)}
{/* The ID functions so we can deactive scrolling in certain pages, example in the data page */}
<ContentWrapper id="content-wrapper">
<Outlet />
<LoadBoundary>
<Outlet />
</LoadBoundary>
</ContentWrapper>
</Root>
)
Expand Down

0 comments on commit 8d87694

Please sign in to comment.