createRouteAction Form TypeScript

Why is she screaming at me?
2 Replies
mdynnl
mdynnl2y ago
createRouteAction's callback fn needs to accept FormData as its first param createRouteAction(async (form: FormData) => ...)
🟐🡽
🟐🡽OP2y ago
Works, thanks

Did you find this page helpful?