Here is my question about a bug that happens sometimes in React app: question link
My Locale Context is not working and I need help. I described what I was trying to do, I've done some research as well, but I couldn't solve it by myself. The question was first downvoted and then closed but no real reason was put forth.
I tried putting the correct code excerpts that would help reproduce or at least understand the problem, but I'm still confused as to why the question was closed in the first place.
() =>
was the problem and adding it would fix it. Since it didn't, you should edit the question to fix that, and request that it be reopened....
, closing brackets, or (not the case here) component function headers. It's not a minimal, complete, runnable example. Sometimes this makes sense, and sometimes I can eyeball or guess the answer, but the rest of the time I ask for clarification. Ideally, create a runnable Stack Snippet so it's easy to repro and play around with. I understand this is somewhat of a full stack problem, but even without a snippet, it could be complete and runnable, with a package.json.