Hello all! We are getting many TypeErrors while pa...
# gooddata-cloud
d
Hello all! We are getting many TypeErrors while passing the dashboard ref to the Dashboard component in React ๐Ÿงต
We have an api call to get the analytical dashboards. The scope is to have these dashboards on a dropdown field and the selected dashboard ref to be passed to the Dashboard component, in order to render the expected dashboard. The flow is working but the problem is that while doing so, we are getting many TypeErrors on our console :
Copy code
TypeError: Cannot set properties of undefined (setting 'hook')
    at d (<anonymous>:10:949)
    at c (<anonymous>:10:1426)
    at e (<anonymous>:10:1913)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1918)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at e (<anonymous>:10:1931)
    at i (<anonymous>:10:1942)
    at t.onCommitFiberRoot.t.onCommitFiberRoot (<anonymous>:10:3098)
    at onCommitRoot (react-dom.development.js:11137:1)
    at commitRootImpl (react-dom.development.js:23261:1)
    at unstable_runWithPriority (scheduler.development.js:468:1)
    at runWithPriority$1 (react-dom.development.js:11276:1)
    at commitRoot (react-dom.development.js:22990:1)
    at performSyncWorkOnRoot (react-dom.development.js:22329:1)
    at react-dom.development.js:11327:1
    at unstable_runWithPriority (scheduler.development.js:468:1)
    at runWithPriority$1 (react-dom.development.js:11276:1)
    at flushSyncCallbackQueueImpl (react-dom.development.js:11322:1)
    at flushSyncCallbackQueue (react-dom.development.js:11309:1)
    at discreteUpdates$1 (react-dom.development.js:22420:1)
    at discreteUpdates (react-dom.development.js:3756:1)
    at dispatchDiscreteEvent (react-dom.development.js:5889:1)
cc: @Menelaos Kotoglou @Konstantinos Koroneos
Is it a known issue maybe? Can you please assist on how to handle this?
r
Hi @Danai Chronopoulou, a possibly strange question, but are you by any chance using a React dev extension in your browser? :)
d
yes!
r
Can you try disabling it and re-test?
๐Ÿ‘€ 1
d
that worked actually! thanks for the hint ๐Ÿ™‚
r
Perfect, glad to hear it wasn't us ๐Ÿ˜
๐Ÿ™Œ 3