Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Add not null check
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sanchez committed Jul 14, 2021
1 parent fc25d9e commit b08001b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AppLayout/Sidebar/useSidebarItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const useSidebarItems = (): ListItemType[] => {
}

return useMemo((): ListItemType[] => {
if (!matchSafe || !matchSafeWithAddress || !featuresEnabled) {
if (!matchSafe || !matchSafeWithAddress || !matchSafeWithAction || !featuresEnabled) {
return []
}

Expand Down

0 comments on commit b08001b

Please sign in to comment.