Skip to content

Commit

Permalink
Refactor useTabs
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Aug 30, 2023
1 parent a726c10 commit 53fca8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/refactor/ui/components/modals/gallery/useTabs.tsx
Expand Up @@ -13,7 +13,8 @@ export const useTabs = () => {
const { sdk: masa } = useMasaClient();

const savedTabs = useMemo((): TabsInterface[] => {
if (!masa || !customSBTs || (customSBTs && customSBTs.length === 0)) return [];
if (!masa || !customSBTs || (customSBTs && customSBTs.length === 0))
return [];

const customSBTsWithTokens = customSBTs.filter(
(contract: HydratedContracts) =>
Expand Down

0 comments on commit 53fca8a

Please sign in to comment.