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:
homarr-renovate[bot]
2024-03-02 15:37:40 +01:00
committed by GitHub
parent baa541afa9
commit b407f2a9ac
6 changed files with 77 additions and 87 deletions

View File

@@ -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) {