diff --git a/src/app/features/current-account/current-account-avatar.tsx b/src/app/features/current-account/current-account-avatar.tsx
index 11c4149113e..0f312db8f2e 100644
--- a/src/app/features/current-account/current-account-avatar.tsx
+++ b/src/app/features/current-account/current-account-avatar.tsx
@@ -10,7 +10,7 @@ interface CurrentAccountAvatar extends CircleProps {
export function CurrentAccountAvatar() {
const stacksAccount = useCurrentStacksAccount();
const { data: name = 'Account' } = useCurrentAccountDisplayName();
- if (!stacksAccount) return null;
+ if (!stacksAccount) return ;
return (
diff --git a/src/app/features/current-account/current-account-name.tsx b/src/app/features/current-account/current-account-name.tsx
index abf7ade63c6..beb04152bc7 100644
--- a/src/app/features/current-account/current-account-name.tsx
+++ b/src/app/features/current-account/current-account-name.tsx
@@ -6,7 +6,6 @@ import { Box, BoxProps, styled } from 'leather-styles/jsx';
import { HasChildren } from '@app/common/has-children';
import { useCurrentAccountDisplayName } from '@app/common/hooks/account/use-account-names';
import { truncateString } from '@app/common/utils';
-import { useCurrentStacksAccount } from '@app/store/accounts/blockchain/stacks/stacks-account.hooks';
import { BasicTooltip } from '@app/ui/components/tooltip/basic-tooltip';
function AccountNameTitle({ children, ...props }: HasChildren & BoxProps) {
@@ -20,9 +19,7 @@ function AccountNameTitle({ children, ...props }: HasChildren & BoxProps) {
}
const AccountNameSuspense = memo((props: BoxProps) => {
- const currentAccount = useCurrentStacksAccount();
const { data: name = 'Account' } = useCurrentAccountDisplayName();
- if (!currentAccount || typeof currentAccount.index === 'undefined') return null;
// FIXME: The name is truncated here with JS but we could just use CSS to do this
const nameCharLimit = 18;
const isLong = name.length > nameCharLimit;
diff --git a/src/app/features/total-balance/total-balance.tsx b/src/app/features/total-balance/total-balance.tsx
index 7070924fd0b..644d0507ddf 100644
--- a/src/app/features/total-balance/total-balance.tsx
+++ b/src/app/features/total-balance/total-balance.tsx
@@ -33,7 +33,7 @@ function TotalBalanceSuspense({ displayAddresssBalanceOf }: TotalBalanceProps) {
return (
- {account && displayAddresssBalanceOf === 'stx' && }
+ {displayAddresssBalanceOf === 'stx' && }
{isBitcoinEnabled && displayAddresssBalanceOf === 'all' && }