Traduction + alias + routing + refactoring

This commit is contained in:
Sebastien Riviere
2026-02-20 22:00:54 +01:00
parent 776bbcd723
commit 76ee9674de
50 changed files with 2978 additions and 1746 deletions

View File

@@ -1,13 +1,13 @@
// React
import { createContext, useContext, useMemo, useState, useEffect } from "react";
// Context
import { useAuth } from "./authContext";
import { useAuth } from "@/contexts/authContext";
// Services
import { socket } from "../services/socket/connection";
import { socket } from "@/services/socket/connection";
// Constants
import { GAME_STATE } from "../constants";
import { GAME_STATE } from "@/constants";
const TeamContext = createContext();
const TeamContext = createContext(null);
const useOnEvent = (event, callback) => {
useEffect(() => {