We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When moving from form step 'who did what & when' to 'mint', the form is slow. Apparently we introduced a sleep promise:
const handleNextClick = async () => { if (currentStep === 2) { await new Promise((resolve) => setTimeout(resolve, 1500)); await takeCardSnapshot(); } const currentStepFields = hypercertFormSteps.get(currentStep)?.fields ?? []; await form.trigger(currentStepFields); if (!isCurrentStepValid()) { return; } setCurrentStep(currentStep + 1); };
Can this be removed? Can we optimise by validation and then taking the snapshot?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is it?
When moving from form step 'who did what & when' to 'mint', the form is slow. Apparently we introduced a sleep promise:
Can this be removed? Can we optimise by validation and then taking the snapshot?
The text was updated successfully, but these errors were encountered: