Skip to content

Commit

Permalink
chore: bump version to 3.0.2-beta.4 and update localization reference…
Browse files Browse the repository at this point in the history
…s in PoolWidget
  • Loading branch information
yrjkqq committed Jan 13, 2025
1 parent f4590a2 commit a9259c7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 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.2-beta.3",
"version": "3.0.2-beta.4",
"description": "DODO Widgets",
"source": "src/index.tsx",
"types": "dist/types/index.d.ts",
Expand Down
8 changes: 4 additions & 4 deletions packages/dodoex-widgets/src/locales/en-US.po
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ msgstr "Current price"
msgid "Swap Rate"
msgstr "Swap Rate"

#: src/widgets/PoolWidget/PoolDetail/index.tsx:155
#: src/widgets/PoolWidget/PoolDetail/index.tsx:157
#: src/widgets/PoolWidget/PoolModify/index.tsx:436
msgid "Pool not found. Please switch to another network and retry."
msgstr "Pool not found. Please switch to another network and retry."
Expand Down Expand Up @@ -1627,7 +1627,7 @@ msgstr "V2 & PMM"
#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:81
#: src/widgets/PoolWidget/AMMV3/components/FeeSelector.tsx:66
#: src/widgets/PoolWidget/PoolDetail/components/TitleInfo.tsx:146
#: src/widgets/PoolWidget/PoolDetail/index.tsx:187
#: src/widgets/PoolWidget/PoolDetail/index.tsx:189
#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:460
#: src/widgets/PoolWidget/PoolModify/operate-widgets/FeeRateSetting.tsx:84
msgid "Edit"
Expand Down Expand Up @@ -1877,7 +1877,7 @@ msgstr "My Staked"

#: src/widgets/MiningWidget/MiningCreate/operate-widgets/RewardForm.tsx:478
#: src/widgets/PoolWidget/AMMV3/components/ReviewModal.tsx:79
#: src/widgets/PoolWidget/PoolDetail/index.tsx:205
#: src/widgets/PoolWidget/PoolDetail/index.tsx:207
#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:346
#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:677
#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:269
Expand Down Expand Up @@ -2119,7 +2119,7 @@ msgid "Initial Price Alert"
msgstr "Initial Price Alert"

#: src/widgets/PoolWidget/AMMV3/components/RemoveButton.tsx:32
#: src/widgets/PoolWidget/PoolDetail/index.tsx:198
#: src/widgets/PoolWidget/PoolDetail/index.tsx:200
#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:254
#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:551
#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:544
Expand Down
8 changes: 4 additions & 4 deletions packages/dodoex-widgets/src/locales/zh-CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ msgstr ""
msgid "Swap Rate"
msgstr ""

#: src/widgets/PoolWidget/PoolDetail/index.tsx:155
#: src/widgets/PoolWidget/PoolDetail/index.tsx:157
#: src/widgets/PoolWidget/PoolModify/index.tsx:436
msgid "Pool not found. Please switch to another network and retry."
msgstr ""
Expand Down Expand Up @@ -1627,7 +1627,7 @@ msgstr ""
#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:81
#: src/widgets/PoolWidget/AMMV3/components/FeeSelector.tsx:66
#: src/widgets/PoolWidget/PoolDetail/components/TitleInfo.tsx:146
#: src/widgets/PoolWidget/PoolDetail/index.tsx:187
#: src/widgets/PoolWidget/PoolDetail/index.tsx:189
#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:460
#: src/widgets/PoolWidget/PoolModify/operate-widgets/FeeRateSetting.tsx:84
msgid "Edit"
Expand Down Expand Up @@ -1877,7 +1877,7 @@ msgstr ""

#: src/widgets/MiningWidget/MiningCreate/operate-widgets/RewardForm.tsx:478
#: src/widgets/PoolWidget/AMMV3/components/ReviewModal.tsx:79
#: src/widgets/PoolWidget/PoolDetail/index.tsx:205
#: src/widgets/PoolWidget/PoolDetail/index.tsx:207
#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:346
#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:677
#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:269
Expand Down Expand Up @@ -2119,7 +2119,7 @@ msgid "Initial Price Alert"
msgstr ""

#: src/widgets/PoolWidget/AMMV3/components/RemoveButton.tsx:32
#: src/widgets/PoolWidget/PoolDetail/index.tsx:198
#: src/widgets/PoolWidget/PoolDetail/index.tsx:200
#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:254
#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:551
#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:544
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ export default function PoolDetail({
...pool,
baseLpToken: {
id: pool.baseLpToken?.id as string,
decimals: Number(pool.baseLpToken?.decimals ?? 18),
},
quoteLpToken: {
id: pool.quoteLpToken?.id as string,
decimals: Number(pool.quoteLpToken?.decimals ?? 18),
},
}
: undefined;
Expand Down

0 comments on commit a9259c7

Please sign in to comment.