Skip to content

Conversation

@kamirave
Copy link

This PR fixes a logic issue where newly added terms wouldn't appear in the list until a full page refresh.

The local state (terms) is now updated immediately after a successful API call, ensuring the new term is rendered right away.

✅ Uses functional setTerms to create a new array
✅ No refresh needed
✅ Confirmed working locally

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants