Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unique key problem #1

Open
bung87 opened this issue Dec 1, 2023 · 0 comments
Open

unique key problem #1

bung87 opened this issue Dec 1, 2023 · 0 comments

Comments

@bung87
Copy link

bung87 commented Dec 1, 2023

single ContextMenu wrapped in React.memo

Warning: Each child in a list should have a unique "key" prop.

Check the render method of `ContextMenu2`. See https://reactjs.org/link/warning-keys for more information.
Item<@http://localhost:5173/node_modules/.vite/deps/@jeryqwq_react-use-contextmenu.js?v=6cc4d0e0:16418:14
ContextMenu2@http://localhost:5173/node_modules/.vite/deps/@jeryqwq_react-use-contextmenu.js?v=6cc4d0e0:16500:17
div
ContextMenu3@http://localhost:5173/node_modules/.vite/deps/@jeryqwq_react-use-contextmenu.js?v=6cc4d0e0:16568:19
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant