Skip to content

feat: add localStorage persistence for token selections#61

Merged
AlAfiz merged 1 commit intoBETAIL-BOYS:mainfrom
LaGodxy:feature/localstorage-persistence
Feb 25, 2026
Merged

feat: add localStorage persistence for token selections#61
AlAfiz merged 1 commit intoBETAIL-BOYS:mainfrom
LaGodxy:feature/localstorage-persistence

Conversation

@LaGodxy
Copy link
Contributor

@LaGodxy LaGodxy commented Feb 25, 2026

Requirements

Update the state logic for the currently selected tokenIn and tokenOut.

Use localStorage.setItem to save the selections whenever they change.

Use a useEffect on initial mount to load the saved values from localStorage.getItem and restore the user's setup.

closes #53

@AlAfiz AlAfiz merged commit 54cfc22 into BETAIL-BOYS:main Feb 25, 2026
1 check passed
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.

feat: Persist user theme and settings to Local Storage

2 participants