refactor: update @tanstack/react-query to version 5.90.5 and restructure Footer component

feat: edited imports
This commit is contained in:
2025-10-30 17:27:35 +01:00
parent 0d3de4f705
commit b52fe07618
11 changed files with 80 additions and 94 deletions

View File

@@ -32,11 +32,7 @@ import { useUserContext } from "@/states/Context";
import { useState } from "react";
import MyAlert from "./myChakra/MyAlert";
import { useTranslation } from "react-i18next";
const API_BASE =
(import.meta as any).env?.VITE_BACKEND_URL ||
import.meta.env.VITE_BACKEND_URL ||
"http://localhost:8002";
import { API_BASE } from "@/config/api.config";
export const Header = () => {
const navigate = useNavigate();