chore: some feedback

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-04-11 16:27:32 +02:00
parent d2488f5e54
commit a4cab5b914
2 changed files with 3 additions and 1 deletions
@@ -135,6 +135,8 @@ export const Stepper = (stepperProps: StepperProps) => {
}: {
formData?: Record<string, JsonValue>;
}) => {
// The validation should never throw, as the validators are wrapped in a try/catch.
// This makes it fine to set and unset state without try/catch.
setErrors(undefined);
setIsValidating(true);