Skip to content

Commit

Permalink
Fix icon toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
apapadopoulou committed Jun 29, 2021
1 parent f96a930 commit 730ff9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/src/components/preview/tools/menu.tsx
Expand Up @@ -21,7 +21,7 @@ export const menuTool: Addon = {
<IconButton
aria-label="Show sidebar"
key="menu"
onClick={() => toggle()}
onClick={toggle as any}
title="Show sidebar"
>
<Icons icon="menu" />
Expand Down

0 comments on commit 730ff9f

Please sign in to comment.