Skip to content

Conversation

mayuran-deriv
Copy link
Contributor

No description provided.

Copy link

vercel bot commented May 26, 2025

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

Name Status Preview Updated (UTC)
deriv-api-docs ✅ Ready (Inspect) Visit Preview May 26, 2025 0:37am

@mayuran-deriv mayuran-deriv changed the title fix: loading and ff fix: loading and firebase feature flag May 26, 2025

// Store the value in localStorage for other components to use
if (typeof window !== 'undefined') {
localStorage.setItem('is_tmb_enabled', JSON.stringify(!!isEnabled));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i was thinking to have localstorage to override as a backdoor

Copy link
Contributor

@amam-deriv amam-deriv May 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

localstorage will override value from firebase as a backdoor, by default localstorage will be empty, once it is set, it will override, if its empty, read from firebase

@amam-deriv amam-deriv merged commit c893a07 into deriv-com:master May 27, 2025
3 checks 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.

2 participants