Skip to content

Uncaught Error: Async refinement encountered during synchronous parse operation. Use .parseAsync instead. #393

Answered by edmundhung
deadcoder0904 asked this question in Q&A
Discussion options

You must be logged in to vote

oh. If isEmailUnique is sync, that's fine. Then all you need is to remove the async keyword on the .superRefine() as I mentioned above.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@deadcoder0904
Comment options

@edmundhung
Comment options

Answer selected by deadcoder0904
@deadcoder0904
Comment options

@deadcoder0904
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants