Skip to content

Commit

Permalink
Fix get sub info section
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Nov 29, 2023
1 parent d012254 commit 406350b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/creatorsStaking/utils/GetSubInfoSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export const GetSubInfoSection = () => {
const { balances, loading } = balancesByAccount || {}

const hideInfoSection = useMemo(() => {
if(loading === undefined) return true

const balanceByNetwork =
balances?.find((x) => x.network === 'subsocial') || ({} as any)

Expand Down

0 comments on commit 406350b

Please sign in to comment.