Next.js Discord

Discord Forum

unhandled runtime error

Answered
Japanese jack mackerel posted this in #help-forum
Open in Discord
Japanese jack mackerelOP
im getting this error..
Answered by B33fb0n3
you can't set and directly access it. So either set it first and then access it or access the old value. Then make sure, that your variable is mappable. After you done that, you can make your variable
View full answer

2 Replies

@Japanese jack mackerel im getting this error..
you can't set and directly access it. So either set it first and then access it or access the old value. Then make sure, that your variable is mappable. After you done that, you can make your variable
Answer