From b08001b2a5c3a9f0b9c66ad1c94820157f77b370 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Wed, 14 Jul 2021 17:09:33 +0200 Subject: [PATCH] Add not null check --- src/components/AppLayout/Sidebar/useSidebarItems.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AppLayout/Sidebar/useSidebarItems.tsx b/src/components/AppLayout/Sidebar/useSidebarItems.tsx index f44ddc1671..0ad2201da7 100644 --- a/src/components/AppLayout/Sidebar/useSidebarItems.tsx +++ b/src/components/AppLayout/Sidebar/useSidebarItems.tsx @@ -28,7 +28,7 @@ const useSidebarItems = (): ListItemType[] => { } return useMemo((): ListItemType[] => { - if (!matchSafe || !matchSafeWithAddress || !featuresEnabled) { + if (!matchSafe || !matchSafeWithAddress || !matchSafeWithAction || !featuresEnabled) { return [] }