Type error for onLogout function #2060
Labels
needs: reproduction
This issue needs to be reproduced independently
package: @faustwp/experimental-app-router
Related to the experimental app router package
faustjs/packages/experimental-app-router/docs/onlogout-server-action.md
Line 13 in 8f133f5
there is a typescript error on the my-account > page.tsx file on the form tag
.It prevents the production build of Next JS app. Not sure if you encountered this issue during the production build.
Type error: Type '() => Promise' is not assignable to type 'string | ((formData: FormData) => void | Promise)'
A solution to this would be really appreciated!! Thanks!
The text was updated successfully, but these errors were encountered: