Skip to content

Commit

Permalink
Fix UK compliant title in StakeOverviewScene
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-edge committed Oct 28, 2024
1 parent a0fee6a commit 6f90329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/scenes/Staking/StakeOverviewScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const StakeOverviewSceneComponent = (props: Props) => {
return <CryptoFiatAmountTile title={title} nativeCryptoAmount={nativeAmount ?? '0'} tokenId={tokenId} denomination={denomination} walletId={wallet.id} />
}

const title = React.useMemo(() => getPolicyTitleName(stakePolicy), [stakePolicy])
const title = React.useMemo(() => getPolicyTitleName(stakePolicy, countryCode), [stakePolicy, countryCode])

if (stakeAllocations == null || rewardAllocations == null)
return (
Expand Down

0 comments on commit 6f90329

Please sign in to comment.