Hi! Most of the dashboard state selectors report a...
# gooddata-ui
t
Hi! Most of the dashboard state selectors report a TS error when you try to use them with
useDashboardSelector
. (sdk @ 8.12.1, ts 5.0.4). Is anyone else running into this issue? Thanks.
m
Hello @Tomáš Gajdoš please can you take a look what is the installed reselect version in your lock file? I remember there was some issue in newer reselect version typings. Version that should work is
4.1.5
(you can use npm overrides or yarn resolutions). Sorry for the inconvenience, for the upcoming SDK version 9, we decoupled selector typings from the reselect to avoid this in the future.
t
Hi @Matyáš Kandl, that did it, thanks for the tip 🙏