fix(deps): update nextjs monorepo to ^14.1.1 (#147)
* fix(deps): update nextjs monorepo to ^14.1.1 * fix: lint issue --------- Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
committed by
GitHub
parent
baa541afa9
commit
b407f2a9ac
@@ -55,7 +55,7 @@ export const UserCreateStepperComponent = () => {
|
||||
},
|
||||
validate: zodResolver(
|
||||
z.object({
|
||||
password: validation.user.password
|
||||
password: validation.user.password,
|
||||
}),
|
||||
),
|
||||
validateInputOnBlur: true,
|
||||
@@ -64,7 +64,10 @@ export const UserCreateStepperComponent = () => {
|
||||
|
||||
const allForms = [generalForm, securityForm];
|
||||
|
||||
const canNavigateToNextStep = allForms[active]?.isValid() ?? true;
|
||||
const isCurrentFormValid = allForms[active]
|
||||
? (allForms[active]!.isValid satisfies () => boolean)
|
||||
: () => true;
|
||||
const canNavigateToNextStep = isCurrentFormValid();
|
||||
|
||||
const controlledGoToNextStep = async () => {
|
||||
if (active + 1 === stepperMax) {
|
||||
|
||||
Reference in New Issue
Block a user