Skip to content

Commit

Permalink
Fixes empty screen when opening the account switching panel. (#3763)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowfiend authored Jan 15, 2025
2 parents cbb6a64 + c506a27 commit 3a3478e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,10 @@ export default function AccountsNotificationPanelAccounts({
return acc
}, {})

if (accountTypeTotals.length < 1) {
return null
}

return (
<section key={category} className="account-category">
<div className="category_wrap simple_text">
Expand Down

0 comments on commit 3a3478e

Please sign in to comment.