This PR updates Mutations in hooks/Mutations/shop to use tanstack-query v5 syntax. V4 syntax was causing issues in /shop/item/itemID and shop/checkout pages (the infamous e(...).defaultMutationOptions is not a function error.
This PR effectively fixes #205.
Warning
Please read these points carefully and answer honestly with an X
into all the boxes. Example : [X]
Before submitting a pull request make sure you have:
Have you read the contributing guidelines ?
What is the purpose of your pull request?
Proposed changes
This PR updates Mutations in
hooks/Mutations/shop
to use tanstack-query v5 syntax. V4 syntax was causing issues in/shop/item/itemID
andshop/checkout
pages (the infamouse(...).defaultMutationOptions is not a function
error.This PR effectively fixes #205.
Warning
Please read these points carefully and answer honestly with an
X
into all the boxes. Example : [X]Before submitting a pull request make sure you have: