Open SnowRunescape opened 9 months ago
Describe the bug
Uncaught Error: No QueryClient set, use QueryClientProvider to set one
call
withReactContent(Swal).fire({ showConfirmButton: false, html: <ModalPaymentsGateways />, });
component
import { useGetGateways } from "./../../services/gateways"; const ModalPaymentsGateways = () => { const { data: gateways} = useGetGateways(); return ( <div> {gateways.map(gateway => <> <div className="flex bg-gray-100 rounded p-3"> {gateway} </div> </>)} </div> ); }
export default ModalPaymentsGateways;`
Unless it's obvious, we also need:
Additional context
Add any other context about the problem here.
Describe the bug
Uncaught Error: No QueryClient set, use QueryClientProvider to set one
call
component
export default ModalPaymentsGateways;`
Unless it's obvious, we also need:
Additional context
Add any other context about the problem here.