Skip to content

Commit

Permalink
feat: add redeem shortcut to sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
rampall authored Jun 11, 2024
1 parent a00ca77 commit 999399f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/SideBar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BeeModes } from '@ethersphere/bee-js'
import { Divider, Drawer, Grid, List, Link as MUILink } from '@material-ui/core'
import { Box, Divider, Drawer, Grid, List, Link as MUILink, Typography } from '@material-ui/core'
import { Theme, createStyles, makeStyles } from '@material-ui/core/styles'
import { ReactElement, useContext } from 'react'
import { Link } from 'react-router-dom'
Expand Down Expand Up @@ -137,6 +137,12 @@ export default function SideBar(): ReactElement {
/>
</MUILink>
</List>
<Divider className={classes.divider} />
<Box mt={4}>
<Link to={ROUTES.TOP_UP_GIFT_CODE}>
<Typography align="center">Redeem gift code</Typography>
</Link>
</Box>
</Grid>
<Grid>
<List>
Expand Down

0 comments on commit 999399f

Please sign in to comment.