#UseState doesn't update in the Modal Component
9 messages · Page 1 of 1 (latest)
https://codesandbox.io/s/flamboyant-bohr-8ro4y0?file=/src/App.tsx
you can check the same logic works in the codeSandBox
#❓-faq message
This might be relevant
#❓-faq message
I was passing parameters to my Modal, and now I need to pass parameters from my main to modal and from modal to that component?!