Skip to content

Commit

Permalink
fix: balance loading style
Browse files Browse the repository at this point in the history
  • Loading branch information
junjieit committed Aug 12, 2024
1 parent 4bd5c71 commit b9e5775
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/dodoex-widgets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dodoex/widgets",
"version": "3.0.0-beta.32",
"version": "3.0.0-beta.33",
"description": "DODO Widgets",
"source": "src/index.tsx",
"types": "dist/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ export function BalanceText({
>
{balanceText ?? <Trans>Balance:</Trans>}&nbsp;
{loading ? (
<RotatingIcon />
<RotatingIcon
sx={{
position: 'relative',
top: 6,
}}
/>
) : (
<>
{address
Expand Down
2 changes: 1 addition & 1 deletion packages/dodoex-widgets/src/locales/en-US.po
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ msgstr "This CP has been settled by other addrs"
msgid "Liquidity Supplied"
msgstr "Liquidity Supplied"

#: src/components/Swap/components/TokenCard/BalanceText.tsx:78
#: src/components/Swap/components/TokenCard/BalanceText.tsx:83
msgid "Max"
msgstr "Max"

Expand Down
2 changes: 1 addition & 1 deletion packages/dodoex-widgets/src/locales/zh-CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ msgstr "此众筹池已被其他地址结算"
msgid "Liquidity Supplied"
msgstr ""

#: src/components/Swap/components/TokenCard/BalanceText.tsx:78
#: src/components/Swap/components/TokenCard/BalanceText.tsx:83
msgid "Max"
msgstr "全部"

Expand Down

0 comments on commit b9e5775

Please sign in to comment.