Skip to content

refactor: replace raw localStorage keys with STORAGE_KEYS registry#479

Open
gtx20060124-bot wants to merge 1 commit into
Neurowealth:mainfrom
gtx20060124-bot:fix/localstorage-keys-registry
Open

refactor: replace raw localStorage keys with STORAGE_KEYS registry#479
gtx20060124-bot wants to merge 1 commit into
Neurowealth:mainfrom
gtx20060124-bot:fix/localstorage-keys-registry

Conversation

@gtx20060124-bot

Copy link
Copy Markdown

Replace hardcoded string literals in onboarding components with centralized STORAGE_KEYS constants to prevent duplication.

Files changed:

  • FirstDepositStep.tsx: 'first-deposit' -> STORAGE_KEYS.ONBOARDING_FIRST_DEPOSIT
  • StrategyOverviewStep.tsx: 'user-strategy' -> STORAGE_KEYS.ONBOARDING_USER_STRATEGY
  • OnboardingSettings.tsx: 'user-strategy' and 'first-deposit' -> STORAGE_KEYS constants

Closes #341

Replace hardcoded string literals in onboarding components with
centralized STORAGE_KEYS constants to prevent duplication.

Closes Neurowealth#341
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.

Replace sandbox raw localStorage keys with storage-keys registry

1 participant