TypeError: 'set' on proxy: trap returned falsish for property when trying to add data from axios request to state #1048
Answered
by
alanhumphrey
RSurya99
asked this question in
Help and Questions
-
Beta Was this translation helpful? Give feedback.
Answered by
alanhumphrey
Feb 20, 2022
Replies: 1 comment 2 replies
-
I ran into the same problem. The issue is that you have a getter and a state property with the same name. I changed my getter to a different name and the error message went away. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
RSurya99
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ran into the same problem. The issue is that you have a getter and a state property with the same name. I changed my getter to a different name and the error message went away.