You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read properties of undefined (reading 'isRequired')
at /node_modules/@apollo/src/react/components/Query.tsx:32:26
at async instantiateModule (file:///vite/dist/node/chunks/dep-G-px366b.js:54758:9)
Prop-types should be imported correctly in order to fix this issue
import { __rest } from "tslib";
import * as PropTypes from "prop-types"; <----- to import PropTypes from 'prop-types'
import { useQuery } from "../hooks/index.js";
Link to Reproduction
na
Reproduction Steps
No response
@apollo/client version
3.9.6
The text was updated successfully, but these errors were encountered:
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.
Issue Description
Prop-types should be imported correctly in order to fix this issue
Link to Reproduction
na
Reproduction Steps
No response
@apollo/client
version3.9.6
The text was updated successfully, but these errors were encountered: