Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type error for onLogout function #2060

Open
roya-ccl opened this issue Feb 27, 2025 · 0 comments
Open

Type error for onLogout function #2060

roya-ccl opened this issue Feb 27, 2025 · 0 comments
Labels
needs: reproduction This issue needs to be reproduced independently package: @faustwp/experimental-app-router Related to the experimental app router package

Comments

@roya-ccl
Copy link

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!

@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Headless OSS Feb 27, 2025
@theodesp theodesp added needs: reproduction This issue needs to be reproduced independently package: @faustwp/experimental-app-router Related to the experimental app router package labels Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: reproduction This issue needs to be reproduced independently package: @faustwp/experimental-app-router Related to the experimental app router package
Projects
Status: 🆕 Backlog
Development

No branches or pull requests

2 participants