From 529cc4d6a9e2885aaafbfa0eb864b13ae9aaa02a Mon Sep 17 00:00:00 2001 From: Angeliki Papadopoulou <56366807+apapadopoulou@users.noreply.github.com> Date: Tue, 29 Jun 2021 21:44:00 +0300 Subject: [PATCH] Display icon when sidebar is not visible Co-authored-by: Deen --- lib/ui/src/components/preview/tools/menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/src/components/preview/tools/menu.tsx b/lib/ui/src/components/preview/tools/menu.tsx index f654571dd696..faa98d4dd695 100644 --- a/lib/ui/src/components/preview/tools/menu.tsx +++ b/lib/ui/src/components/preview/tools/menu.tsx @@ -16,7 +16,7 @@ export const menuTool: Addon = { <> {({ isVisible, toggle }) => - isVisible && ( + !isVisible && ( <>