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
@@ -12,7 +12,7 @@ import { useForm } from "@tanstack/react-form";
import { useMutation, useQueryClient } from "@tanstack/react-query";
import { useTranslation } from "react-i18next";
import type { NewStorage, AlertInterface } from "../../misc/interfaces";
import { mutateNewStorage } from "../../utils/uxFncs";
import { mutateNewStorage } from "../../utils/api/storages";
import { useState } from "react";
interface AddStorageModalProps {