-
+
Your Safe Account preview
{wallet ? (
diff --git a/src/components/sidebar/SidebarFooter/index.tsx b/src/components/sidebar/SidebarFooter/index.tsx
index 6624930784..c2119e6da9 100644
--- a/src/components/sidebar/SidebarFooter/index.tsx
+++ b/src/components/sidebar/SidebarFooter/index.tsx
@@ -1,5 +1,5 @@
import type { ReactElement } from 'react'
-import { useCallback, useEffect } from 'react'
+// import { useCallback, useEffect } from 'react'
import {
SidebarList,
@@ -7,11 +7,11 @@ import {
SidebarListItemIcon,
SidebarListItemText,
} from '@/components/sidebar/SidebarList'
-import { BEAMER_SELECTOR, loadBeamer } from '@/services/beamer'
+// import { BEAMER_SELECTOR, loadBeamer } from '@/services/beamer'
import { useAppDispatch, useAppSelector } from '@/store'
-import { selectCookies, CookieType } from '@/store/cookiesSlice'
-import { openCookieBanner } from '@/store/popupSlice'
-import BeamerIcon from '@/public/images/sidebar/whats-new.svg'
+import { selectCookies } from '@/store/cookiesSlice'
+// import { openCookieBanner } from '@/store/popupSlice'
+// import BeamerIcon from '@/public/images/sidebar/whats-new.svg'
import HelpCenterIcon from '@/public/images/sidebar/help-center.svg'
import { ListItem } from '@mui/material'
import DebugToggle from '../DebugToggle'
@@ -25,20 +25,20 @@ const SidebarFooter = (): ReactElement => {
const cookies = useAppSelector(selectCookies)
const chain = useCurrentChain()
- const hasBeamerConsent = useCallback(() => cookies[CookieType.UPDATES], [cookies])
+ // const hasBeamerConsent = useCallback(() => cookies[CookieType.UPDATES], [cookies])
- useEffect(() => {
- // Initialise Beamer when consent was previously given
- if (hasBeamerConsent() && chain?.shortName) {
- loadBeamer(chain.shortName)
- }
- }, [hasBeamerConsent, chain?.shortName])
+ // useEffect(() => {
+ // // Initialise Beamer when consent was previously given
+ // if (hasBeamerConsent() && chain?.shortName) {
+ // loadBeamer(chain.shortName)
+ // }
+ // }, [hasBeamerConsent, chain?.shortName])
- const handleBeamer = () => {
- if (!hasBeamerConsent()) {
- dispatch(openCookieBanner({ warningKey: CookieType.UPDATES }))
- }
- }
+ // const handleBeamer = () => {
+ // if (!hasBeamerConsent()) {
+ // dispatch(openCookieBanner({ warningKey: CookieType.UPDATES }))
+ // }
+ // }
return (
@@ -48,17 +48,6 @@ const SidebarFooter = (): ReactElement => {
)}
-
-