-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error when using _isNarrativeOnMobile #278
Comments
Hi @oliverfoster . In the Hot Graphic view, I can prevent the error by changing this line:
To return an empty array:
However, I noticed that
Should it return an empty array instead?
Or is there a better way to handle this in general (ex. changing something in |
🎉 This issue has been resolved in version 6.7.7 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Subject of the issue
When using
_isNarrativeOnMobile: true
and viewing on mobile, the following error is shown:Note that this does not happen if first viewing on desktop and then switching to mobile. It only happens if you are viewing mobile when the page first loads.
Your environment
Steps to reproduce
_isNarrativeOnMobile
Expected behaviour
No console errors
Actual behaviour
Console error!
Screenshots
The text was updated successfully, but these errors were encountered: