Skip to content

Commit

Permalink
fix: 🐛 resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
espenkalle committed Oct 10, 2023
1 parent e1b3962 commit cab1c14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const GardenWrapper = <TData extends Record<PropertyKey, unknown>, TFilte
{toggle ? (
<>
<div style={{ display: 'flex', width: '100%', alignItems: 'center', justifyContent: 'space-between' }}>
<Button variant="ghost_icon" onClick={() => setToggle(!toggle)}>
<Button variant="ghost_icon" onClick={() => setToggle((state) => !state)}>
<Icon data={arrow_forward_ios}></Icon>
</Button>
<p style={{ marginRight: '8px', fontSize: '16px', fontWeight: '500' }}>View Settings</p>
Expand All @@ -84,7 +84,7 @@ export const GardenWrapper = <TData extends Record<PropertyKey, unknown>, TFilte
</>
) : (
<>
<Button variant="ghost_icon" onClick={() => setToggle(!toggle)}>
<Button variant="ghost_icon" onClick={() => setToggle((state) => !state)}>
<Icon data={arrow_back_ios}></Icon>
</Button>
<VerticalText>View Settings</VerticalText>
Expand Down

0 comments on commit cab1c14

Please sign in to comment.