outsourced functions

This commit is contained in:
2026-05-30 11:28:40 +02:00
parent 137a9204df
commit c55cb8a69a
19 changed files with 282 additions and 262 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ import {
import { useTranslation } from "react-i18next";
import { useState } from "react";
import { useForm } from "@tanstack/react-form";
import { createProduct, getStorages } from "../utils/uxFncs";
import { createProduct } from "../utils/api/products";
import { getStorages } from "../utils/api/storages";
import type { ProductFormValues } from "../misc/interfaces";
import Cookies from "js-cookie";