navigator is not defined #11027
-
When trying to import This is my code
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@BjoernRave this is because the |
Beta Was this translation helpful? Give feedback.
-
Have a look at #11013 (reply in thread) Basically the way that you currently are doing it every render you will initialize that object, which is obviously not what you would want. Here's the correct way to handle it:
|
Beta Was this translation helpful? Give feedback.
-
Try it:
|
Beta Was this translation helpful? Give feedback.
Have a look at #11013 (reply in thread)
Basically the way that you currently are doing it every render you will initialize that object, which is obviously not what you would want.
Here's the correct way to handle it: