Skip to content

Commit 007b952

Browse files
committed
Refactor DefaultLayout component to remove TableOfContents.Desktop from the middle of the layout
1 parent dc07cc9 commit 007b952

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/layout.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,13 @@ const DefaultLayout = ({children}) => {
3939
<Box
4040
sx={{
4141
justifyContent: 'center',
42-
flexDirection: 'row-reverse',
4342
display: 'flex',
4443
maxWidth: '1200px',
4544
mx: 'auto',
4645
width: '100%',
4746
p: [4, 5, 6, 7],
4847
}}
4948
>
50-
<TableOfContents.Desktop />
5149
<Container as="main">
5250
<Box sx={{mb: 4}}>
5351
<Breadcrumbs />
@@ -60,6 +58,7 @@ const DefaultLayout = ({children}) => {
6058
{children}
6159
<PageFooter />
6260
</Container>
61+
<TableOfContents.Desktop />
6362
</Box>
6463
)
6564
}

0 commit comments

Comments
 (0)