Skip to content

Commit

Permalink
Migrate to react-query, drop cache and subscriptions (#33)
Browse files Browse the repository at this point in the history
* Handle messages success on block finalization

* Migrate to react-query, drop cache and subscriptions
  • Loading branch information
nikitayutanov authored Mar 28, 2024
1 parent 8ad0793 commit b4798fc
Show file tree
Hide file tree
Showing 14 changed files with 143 additions and 316 deletions.
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
"codegen": "graphql-codegen"
},
"dependencies": {
"@apollo/client": "3.9.6",
"@gear-js/api": "0.36.3",
"@gear-js/react-hooks": "0.10.3",
"@gear-js/vara-ui": "0.0.7",
"@hookform/resolvers": "3.3.3",
"@polkadot/api": "10.11.2",
"@polkadot/react-identicon": "3.6.4",
"graphql-ws": "5.15.0",
"@tanstack/react-query": "5.28.9",
"graphql-request": "6.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "7.49.2",
Expand Down
168 changes: 24 additions & 144 deletions frontend/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions frontend/src/context/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { IndexerProvider } from './indexer';
import { MarketplaceProvider, useMarketplace } from './marketplace';

export { MarketplaceProvider, useMarketplace, IndexerProvider };
export { MarketplaceProvider, useMarketplace };
Loading

0 comments on commit b4798fc

Please sign in to comment.