-
Hi guys, I've been struggling to find a solution to what I need to do, I'd love it if anyone can help me What I am trying to do is this:
example: I hope it's clear, let me know if I not I prepared a codesandbox environment: https://codesandbox.io/p/sandbox/dazzling-farrell-rf3vqy?file=/app/page.tsx:113,40 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found a the fix to my problem!! replace the addAllItem function with the below
for each key used instead of doing this
do this
And update the logic inside the onClick function
|
Beta Was this translation helpful? Give feedback.
Found a the fix to my problem!!
replace the addAllItem function with the below
for each key used instead of doing this
do this
And update the logic inside the onC…