Skip to content

Commit

Permalink
fix: use mainaccount unit to display fees if no fees options
Browse files Browse the repository at this point in the history
  • Loading branch information
Wozacosta committed Aug 22, 2024
1 parent a409ecc commit 1f50aac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lazy-badgers-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

uses main account's unit when displayed fees with no options
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function EvmFeesStrategy({
const bridge: AccountBridge<Transaction> = getAccountBridge(mainAccount);
const { colors } = useTheme();
const { t } = useTranslation();
const unit = useAccountUnit(account);
const unit = useAccountUnit(mainAccount);

const [gasOptions, error, loading] = useGasOptions({
currency: mainAccount.currency,
Expand Down

0 comments on commit 1f50aac

Please sign in to comment.