Skip to content

Commit

Permalink
Bump @PolkaDot deps and allow submition when no param (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut authored Sep 22, 2024
1 parent c902339 commit 1eba8d2
Show file tree
Hide file tree
Showing 5 changed files with 569 additions and 177 deletions.
2 changes: 1 addition & 1 deletion packages/ui/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@graphql-eslint/known-type-names": "error"
},
"parserOptions": {
"schema": "http://localhost:4350/graphql"
"schema": "https://chainsafe.squids.live/multix-arrow/v/v4/graphql"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/graphql.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"overwrite": true,
"schema": "https://squid.subsquid.io/multix-arrow/v/v3/graphql",
"schema": "https://chainsafe.squids.live/multix-arrow/v/v4/graphql",
"documents": "src/**/*.graphql",
"generates": {
"src/gql/": {
Expand Down
16 changes: 8 additions & 8 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"@fontsource/jost": "^5.0.17",
"@mui/material": "^5.15.15",
"@mui/styled-engine": "^5.15.14",
"@polkadot/api": "^12.2.1",
"@polkadot/api-augment": "^12.2.1",
"@polkadot/extension-dapp": "^0.49.1",
"@polkadot/react-identicon": "^3.7.1",
"@polkadot/types": "^12.2.1",
"@polkadot/util-crypto": "^13.0.2",
"@polkadot/api": "^13.1.1",
"@polkadot/api-augment": "^13.1.1",
"@polkadot/extension-dapp": "^0.52.3",
"@polkadot/react-identicon": "^3.10.1",
"@polkadot/types": "^13.1.1",
"@polkadot/util-crypto": "^13.1.1",
"@tanstack/react-query": "^5.29.2",
"@types/react-router-dom": "^5.3.3",
"@walletconnect/web3wallet": "^1.11.2",
Expand All @@ -37,8 +37,8 @@
"@graphql-codegen/client-preset": "4.2.5",
"@graphql-codegen/typescript-react-query": "^6.1.0",
"@graphql-eslint/eslint-plugin": "^3.20.1",
"@polkadot/extension-inject": "^0.49.1",
"@polkadot/typegen": "^12.2.1",
"@polkadot/extension-inject": "^0.52.3",
"@polkadot/typegen": "^13.1.1",
"@types/node": "^20.12.7",
"@types/react-dom": "^18.2.25",
"@typescript-eslint/eslint-plugin": "^7.6.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/components/EasySetup/ManualExtrinsic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ const ManualExtrinsic = ({
)

useEffect(() => {
!!paramFields?.length &&
!!inputParams.length &&
!!paramFields &&
!!inputParams &&
setTransformedParams(transformParams(paramFields, inputParams))
}, [inputParams, paramFields, transformParams])

Expand Down
Loading

0 comments on commit 1eba8d2

Please sign in to comment.