💭 Description
In this documentation of react tutorial (https://appwrite.io/docs/tutorials/react/step-7)
This specific part of code (line no 37) the id used is wrong way
<button
type="button"
onClick={() =>
ideas.add({ userId: user.current.id, title, description })
}

It should be like
userId: user.current.$id
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
💭 Description
In this documentation of react tutorial (https://appwrite.io/docs/tutorials/react/step-7)
This specific part of code (line no 37) the id used is wrong way
<button
type="button"
onClick={() =>
ideas.add({ userId: user.current.id, title, description })
}
It should be like
userId: user.current.$id
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?