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
I swapped out the current graphql.js from the old one and get:
error 1
warn - ./pages/_app.jsx
Anonymous arrow functions cause Fast Refresh to not preserve local component state.
Please add a name to your function, for example:
Before
export default () =>
;
After
const Named = () =>
;
export default Named;
I assigned the function a name and then error #2 pops up:
/components/index.js
Unhandled Runtime Error
TypeError: Cannot read property 'total' of null
{data?.results.summary.total} Results
When I swap out this line for a simpler one, I then get a 'map' related error, so I thought I would act the community first.
The text was updated successfully, but these errors were encountered:
I swapped out the current graphql.js from the old one and get:
error 1
warn - ./pages/_app.jsx
Anonymous arrow functions cause Fast Refresh to not preserve local component state.
Please add a name to your function, for example:
Before
export default () =>
After
const Named = () =>
export default Named;
I assigned the function a name and then error #2 pops up:
/components/index.js
Unhandled Runtime Error
TypeError: Cannot read property 'total' of null
{data?.results.summary.total} Results
When I swap out this line for a simpler one, I then get a 'map' related error, so I thought I would act the community first.
The text was updated successfully, but these errors were encountered: