You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
#36
Open
artursahak opened this issue
Nov 4, 2021
· 3 comments
const [camera, setCamera] = React.useState<Camera | null>(null); at line 20 is giving the TypeError of being a non-iterable instance.
Could you suggest another way for handling the state for view's camera variable?
The text was updated successfully, but these errors were encountered:
const [camera, setCamera] = React.useState<Camera | null>(null); at line 20 is giving the TypeError of being a non-iterable instance. Could you suggest another way for handling the state for view's camera variable?
Hi, i have the same error
ERROR TypeError: Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a Symbol.iterator method.
const [camera, setCamera] = React.useState<Camera | null>(null);
at line 20 is giving the TypeError of being a non-iterable instance.Could you suggest another way for handling the state for view's camera variable?
The text was updated successfully, but these errors were encountered: