embarrassing-maroonE
Refine3y ago
9 replies
embarrassing-maroon

Resource in useCustomMutation successNotification parameter

How do I access or pass a resource name into useCustomMutation? I use this hook to have a reordering feature on my list.tsx page, and when I have the code like on screenshot it gives resource
undefined
.
What should I do to have resource correctly set?

(Also, offtopic as a general wish: try to somehow migrate this whole "help" discord to github wiki or any other publicly available platform. Discord is not parsable through search engines, so first you loose developers attention when they try to find a solution, and at the same time you loose SEO points for being mentioned. )
image.png
Was this page helpful?