Skip to content

Commit

Permalink
fix: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaTamanda committed Jan 14, 2025
1 parent d2cbbef commit a779c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MapToolbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const MapToolbar: React.FC = (): JSX.Element => {

const [pressed, setPressed] = useState(false);

const [visible, setVisible] = useState(store.getState().toolMenu.availableTools.find((toolName) => toolName === 'map_toolbar'));
const [visible] = useState(store.getState().toolMenu.availableTools.find((toolName) => toolName === 'map_toolbar'));

const btnTooltipProps = {
tooltipPlacement: 'left' as TooltipPlacement,
Expand Down

0 comments on commit a779c5a

Please sign in to comment.