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
{{ message }}
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
Hi, I have been having the same issue since recently, I haven't updated or modified my code, it worked for a year up until now....
IMPLEMENTATION:
const TreeExample = (props) => {
const [counter, setCounter] = useState(0);
const [data, setData] = useState({});
const [cursor, setCursor] = useState(false);
if (cursor) {
cursor.active = false;
}
node.active = true;
if (node.children) {
node.toggled = toggled;
}
setCursor(node);
setData(Object.assign({}, data));
};
return Treebeard data={data} onToggle={onToggle} ;
};
as I said, this worked for a year until a few days ago...
P.S. I intentionally removed enclosing tags in return statement because it wasn't visible.
P.P.S. Also tried with Your demo data and the same error is returned
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, when I try to view my treebeard component in chrome, I receive the following the error in the console:
TypeError: (0, _lodash.castArray) is not a function (bundle.js:1235)
at TreeBeard (bundle.js:90263)
I’ve tried updating some dependencies to their latest versions, but it is still occurring. Does anyone know where this could be coming from?
Thank you in advance!
The text was updated successfully, but these errors were encountered: