Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Fix inventory changes aren't reflected to the DOM#9

Open
rassvet-ii wants to merge 1 commit intoedwardez:developfrom
rassvet-ii:fix-inventory
Open

Fix inventory changes aren't reflected to the DOM#9
rassvet-ii wants to merge 1 commit intoedwardez:developfrom
rassvet-ii:fix-inventory

Conversation

@rassvet-ii
Copy link
Contributor

@rassvet-ii rassvet-ii commented Feb 4, 2024

ref.current changes do not trigger rerender so replaced it with reducer.
useState is also ok but I choosed to use reducer.

@vercel
Copy link

vercel bot commented Feb 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sensei-helper ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2024 9:25pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant