Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(packages/sui-ssr): safe check of type #1653

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

paulusrex
Copy link
Contributor

@paulusrex paulusrex commented Oct 24, 2023

Description

In some web app implementations when is a new user then cookies on SSR will be undefined. If the web app doesn't inject an empty string, this line will fail on SSR.

image

Related Issue

@danilucaci reproduced the error on habitaclia

@paulusrex paulusrex marked this pull request as ready for review October 25, 2023 07:02
@paulusrex paulusrex merged commit 664f050 into master Oct 25, 2023
1 check passed
@paulusrex paulusrex deleted the fix/NOJIRA-safe-check-when-no-cookies branch October 25, 2023 08:44
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.

6 participants