From d75fbf27e065cbb5844ff22a00740311d9c6dd5e Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski Date: Fri, 6 May 2022 10:55:53 +0200 Subject: [PATCH] space: remove blue beta dot (#8511) --- src/components/views/spaces/SpacePanel.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/views/spaces/SpacePanel.tsx b/src/components/views/spaces/SpacePanel.tsx index f273e3c523..e1f62445f7 100644 --- a/src/components/views/spaces/SpacePanel.tsx +++ b/src/components/views/spaces/SpacePanel.tsx @@ -219,17 +219,10 @@ const CreateSpaceButton = ({ } const onNewClick = menuDisplayed ? closeMenu : () => { - // persist that the user has interacted with this, use it to dismiss the beta dot - localStorage.setItem("mx_seenSpaces", "1"); if (!isPanelCollapsed) setPanelCollapsed(true); openMenu(); }; - let betaDot: JSX.Element; - if (!localStorage.getItem("mx_seenSpaces") && !SpaceStore.instance.spacePanelSpaces.length) { - betaDot =
; - } - return
  • - { betaDot } { contextMenu }
  • ;