fix: nextjs is slow dev server (#364)

* fix: nextjs slow compile time

* fix: change optimized package imports and transpile packages

* fix: format issue
This commit is contained in:
Meier Lukas authored and GitHub committed 2024-04-25 22:06:15 +02:00
1 parent 04a313186f
commit b78d32b81c
112 files changed
+345 -394

No files matched your search

@@ -1,21 +1,21 @@
"use client";
import { useCallback, useMemo, useState } from "react";
import { clientApi } from "@homarr/api/client";
import { useForm, zodResolver } from "@homarr/form";
import { useScopedI18n } from "@homarr/translation/client";
import {
Avatar,
Card,
IconUserCheck,
PasswordInput,
Stack,
Stepper,
Text,
TextInput,
Title,
} from "@homarr/ui";
} from "@mantine/core";
import { IconUserCheck } from "@tabler/icons-react";
import { clientApi } from "@homarr/api/client";
import { useForm, zodResolver } from "@homarr/form";
import { useScopedI18n } from "@homarr/translation/client";
import { validation, z } from "@homarr/validation";
import { StepperNavigationComponent } from "./stepper-navigation.component";
@@ -1,15 +1,13 @@
import Link from "next/link";
import { useI18n } from "@homarr/translation/client";
import { Button, Card, Group } from "@mantine/core";
import {
Button,
Card,
Group,
IconArrowBackUp,
IconArrowLeft,
IconArrowRight,
IconRotate,
} from "@homarr/ui";
} from "@tabler/icons-react";
import { useI18n } from "@homarr/translation/client";
interface StepperNavigationComponentProps {
hasPrevious: boolean;