Fixed some imports and build

This commit is contained in:
cdricms
2025-02-10 09:42:24 +01:00
parent 27b73dbcab
commit bcb563fa1c
9 changed files with 110 additions and 25 deletions

View File

@@ -1,8 +1,8 @@
"use client";
import { API_URL } from "@/lib/constants";
import { ApiResponse } from "@/types/types";
import { getCookie } from "cookies-next";
import { useState, useRef, useCallback } from "react";
import { ApiResponse, useApi } from "./use-api";
interface UseFileUploadReturn {
progress: number;

View File

@@ -1,9 +1,7 @@
"use client";
import { setCookie } from "cookies-next";
import useApiMutation, { ApiResponse } from "./use-api";
import { useEffect, useState } from "react";
import { API_URL } from "@/lib/constants";
import useApiMutation from "./use-api";
export interface LoginArgs {
email: string;