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
It's generally bad to mutate objects in this way, I had to run the code myself to check it which is a bad sign.
To be clear, don't mutate (change) the properties of objects in the data object. When you read the "PUT" request with the original data it's not immediately obvious what's changed. It works but it's hard to read and harder to debug. Be explicit about creating a copy of the user data with the new data and sending that back to your DynamoDB
It's generally bad to mutate objects in this way, I had to run the code myself to check it which is a bad sign.
To be clear, don't mutate (change) the properties of objects in the data object. When you read the "PUT" request with the original data it's not immediately obvious what's changed. It works but it's hard to read and harder to debug. Be explicit about creating a copy of the user data with the new data and sending that back to your DynamoDB
in-house-project/app/[game_id]/[username]/draw/page.tsx
Line 96 in 9d2c508
The text was updated successfully, but these errors were encountered: