Skip to content

Commit

Permalink
add algebra
Browse files Browse the repository at this point in the history
  • Loading branch information
junjieit committed Jan 24, 2025
1 parent f04179e commit 5718abb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/dodoex-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dodoex/api",
"version": "3.0.3-bartio.1",
"version": "3.0.3-bartio.2",
"description": "DODO API Kit",
"source": "src/index.ts",
"types": "dist/types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/dodoex-api/src/chainConfig/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const platformIdMap: {
[ChainId.MANTLE]: 'mantle',
[ChainId.SEPOLIA]: 'sepolia',
[ChainId.DODO_CHAIN_TESTNET]: 'dodochain-testnet',
[ChainId.BARTIO_TESTNET]: 'barito',
[ChainId.BARTIO_TESTNET]: 'berachain-testnet',
[ChainId.TAIKO]: 'taiko',
[ChainId.PLUME]: 'plume',
[ChainId.PLUME_TESTNET]: 'plume-testnet',
Expand Down
4 changes: 2 additions & 2 deletions 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-bartio.8",
"version": "3.0.2-bartio.9",
"description": "DODO Widgets",
"source": "src/index.tsx",
"types": "dist/types/index.d.ts",
Expand Down Expand Up @@ -58,7 +58,7 @@
},
"dependencies": {
"@babel/runtime": "^7.17.0",
"@dodoex/api": "3.0.3-bartio.1",
"@dodoex/api": "3.0.3-bartio.2",
"@dodoex/components": "3.0.3",
"@dodoex/contract-request": "^1.3.0",
"@dodoex/dodo-contract-request": "^1.9.0-alpha.9",
Expand Down
9 changes: 8 additions & 1 deletion packages/dodoex-widgets/src/providers/queryClient/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import { QueryClient } from '@tanstack/react-query';

export const queryClient = new QueryClient();
export const queryClient = new QueryClient({
defaultOptions: {
queries: {
// When the return data is Proxy, this method will convert the lost proxy attribute
structuralSharing: false,
},
},
});
2 changes: 1 addition & 1 deletion packages/dodoex-widgets/src/widgets/PoolWidget/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function Pool() {
/>
);
case PageType.createPoolAlgebra:
return <AlgebraCreate border />;
return <AlgebraCreate />;
default:
return <PoolList params={(page as Page<PageType.Pool>)?.params} />;
}
Expand Down

0 comments on commit 5718abb

Please sign in to comment.