Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
echarles committed Jul 27, 2023
1 parent 843bb30 commit eb78627
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions src/components/Datalayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,24 @@ const Datalayer = (): JSX.Element => {
});
});
return (
<ThemeProvider>
<BaseStyles>
<Box style={{maxWidth: 700}}>
<Box>
<UnderlineNav>
<UnderlineNav.Item aria-current="page" icon={() => <DatalayerGreenIcon colored/>} onSelect={e => {e.preventDefault(); setTab(1);}}>
Datalayer
</UnderlineNav.Item>
</UnderlineNav>
<>
<ThemeProvider>
<BaseStyles>
<Box style={{maxWidth: 700}}>
<Box>
<UnderlineNav>
<UnderlineNav.Item aria-current="page" icon={() => <DatalayerGreenIcon colored/>} onSelect={e => {e.preventDefault(); setTab(1);}}>
Datalayer
</UnderlineNav.Item>
</UnderlineNav>
</Box>
<Box m={3}>
{(tab === 1) && <DatalayerTab version={version} />}
</Box>
</Box>
<Box m={3}>
{(tab === 1) && <DatalayerTab version={version} />}
</Box>
</Box>
</BaseStyles>
</ThemeProvider>
</BaseStyles>
</ThemeProvider>
</>
);
}

Expand Down

0 comments on commit eb78627

Please sign in to comment.