The GreetingsTable.tsx component was using ApolloClient, so I made a new hook that uses graph-client called useGraphClient. The hook takes in a query and calls the execute function from the index.ts file generated by the command yarn graphclient build. I also removed traces of Apollo Client within the ScaffoldEthAppWithProviders.tsx. Please ask me questions and/or recommendations/ fixes to my code
Additional Information
[yes ] I have read the contributing docs (if this is your first contribution)
Note: If your changes are small and straightforward, you may skip the creation of an issue beforehand and remove this section. However, for medium-to-large changes, it is recommended to have an open issue for discussion and approval prior to submitting a pull request.
Your ENS/address: 0x5D4132B0344C592Ae8d40dfB67f966401a6679c9
https://github.com/user-attachments/assets/3594048c-c2ac-4a07-978f-1a64750b5657
Description
The GreetingsTable.tsx component was using ApolloClient, so I made a new hook that uses graph-client called useGraphClient. The hook takes in a query and calls the execute function from the index.ts file generated by the command
yarn graphclient build
. I also removed traces of Apollo Client within the ScaffoldEthAppWithProviders.tsx. Please ask me questions and/or recommendations/ fixes to my codeAdditional Information
Related Issues
Closes #{issue number}
Note: If your changes are small and straightforward, you may skip the creation of an issue beforehand and remove this section. However, for medium-to-large changes, it is recommended to have an open issue for discussion and approval prior to submitting a pull request.
Your ENS/address: 0x5D4132B0344C592Ae8d40dfB67f966401a6679c9