Skip to content

Commit

Permalink
fix: update version to 3.0.1-taiko.16 and add 'DPP' to filter types i…
Browse files Browse the repository at this point in the history
…n MyLiquidity component
  • Loading branch information
yrjkqq committed Dec 6, 2024
1 parent a401b19 commit e22d402
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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.1-taiko.15",
"version": "3.0.1-taiko.16",
"description": "DODO Widgets",
"source": "src/index.tsx",
"types": "dist/types/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1151,16 +1151,12 @@ export default function MyLiquidity({

let filterTypes: PoolType[] = notSupportPMM
? []
: ['CLASSICAL', 'DVM', 'DSP', 'GSP'];
: ['CLASSICAL', 'DVM', 'DSP', 'GSP', 'DPP'];
if (supportAMMV2) {
filterTypes.push('AMMV2');
}
if (supportAMMV3) {
if (onlyV3) {
filterTypes = ['AMMV3'];
} else {
filterTypes.push('AMMV3');
}
if (supportAMMV3 && onlyV3) {
filterTypes = ['AMMV3'];
}

const defaultQueryFilter = {
Expand Down

0 comments on commit e22d402

Please sign in to comment.