There was an error while loading. Please reload this page.
select
onSuccess
I want to do some set state operations in onSuccess fn, and then convert the data structure in select fn, but unable to infer the correct type. https://codesandbox.io/s/stupefied-andras-otxpp?file=/src/App.tsx