Skip to content

Conversation

@opti-jnguyen
Copy link
Contributor

Summary

  • Conditionally uses window.localStorage if it exists in pendingEventsStore.ts. If not, logs a warning message to notify the client.

Goal: Mute error messages coming from execution contexts that do not have localStorage (i.e. private/incognito settings or React Native).

Test plan

  • All unit tests and FSC should pass.

@raju-opti raju-opti deleted the jnguyen/local-storage-check branch January 21, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants