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 1, 2025. It is now read-only.
In the above code, the param taskData is an Object. However, it is warning me that taskData cannot be destructured within the return object because taskData is of type serialisableParam (string).
Can someone guide me as to if/ how can I pass an object to the set function please.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to pass in an object to the 'set' function of
selectorFamily
.In the above code, the param
taskData
is an Object. However, it is warning me thattaskData
cannot be destructured within the return object becausetaskData
is of typeserialisableParam
(string).Can someone guide me as to if/ how can I pass an object to the
set
function please.Beta Was this translation helpful? Give feedback.
All reactions