Next.js Discord

Discord Forum

when using useeffect, changes dont reflect

Unanswered
Bigeye tuna posted this in #help-forum
Open in Discord
Bigeye tunaOP
        access_cur(true);

when i printed this, after setting it to true, its still false (const [upload_new_cur, access_cur] = useState(false);)

0 Replies