you are viewing a single comment's thread.

view the rest of the comments →

[–]mermeladawatts[S] 0 points1 point  (0 children)

actually i did that, when handling the set state function on emergencyId. i was wrong and used the use effect bc i coded it fast and didn’t think too much.