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

crash in ssr mode due to undefined window in userMobileOrientation function #220

Open
amirzgh opened this issue Aug 15, 2023 · 3 comments
Open

Comments

@amirzgh
Copy link

amirzgh commented Aug 15, 2023

  1. Bug description
    there is an issue in useMobileOrientatino which cause website crash on ssr mode
  2. Steps to reproduce
    set mode to ssr
    i made this pr to fix this issue
@h36ahmed
Copy link

h36ahmed commented Oct 9, 2023

Please merge this ^

@Nicoolandgood
Copy link

window object doesn't exist on the server side, this may lead to this issue

@edrischhawniwala
Copy link

Please merge this.

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

No branches or pull requests

4 participants