refactor: edit tailwindcss classes and change code formatting, therefore added .prettierrc file

fix: frontend bug where the passwords won't be checked when the password is changed
This commit is contained in:
2026-07-08 14:56:43 +02:00
parent 9c50c3f300
commit 6be34c93aa
36 changed files with 1280 additions and 1145 deletions
+3 -2
View File
@@ -16,8 +16,8 @@ import { useForm } from "@tanstack/react-form";
import { createProduct } from "../utils/api/products";
import { getStorages } from "../utils/api/storages";
import type {
ProductFormValues,
AlertInterface,
ProductFormValues,
Storage,
} from "../misc/interfaces";
import type { ApiError } from "../utils/api/apiError";
@@ -272,10 +272,11 @@ export const AddProduct = () => {
</div>
</div>
</div>
<div className="flex flex-wrap items-center justify-between gap-3">
<div className="flex gap-3 items-center">
<Typography level="body-sm" className="text-slate-500">
{t("product-details")}
</Typography>
<div className="grow"></div>
<Button
type="submit"
loading={isPending}