Skip to content

Commit

Permalink
refactor: unnecessary Div
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed May 23, 2024
1 parent cd5fe26 commit 5b7a160
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/components/common/RouterTabs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ export const RouterTab = ({
const active = !!matchPath(pathname, { path: stripSearch(to) })

let content = icon ? (
<Box display="flex" alignItems="center">
<Box sx={{ display: 'flex', alignItems: 'center', gap: '0.5rem' }}>
{icon}
<Box ml="0.5rem" />
{label}
</Box>
) : (
Expand Down

0 comments on commit 5b7a160

Please sign in to comment.