Oprava importů klienta do složky types, aby nebylo potřeba složku kokírovat

This commit is contained in:
Michal Hájek
2025-02-02 16:01:21 +01:00
parent a9fe369abc
commit c311cc2fd7
11 changed files with 13 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
import { useEffect, useState } from "react";
import { getEasterEgg } from "../api/EasterEggApi";
import { AuthContextProps } from "./auth";
import { EasterEgg } from "../types";
import { EasterEgg } from "../../../types";
export const useEasterEgg = (auth?: AuthContextProps | null): [EasterEgg | undefined, boolean] => {
const [result, setResult] = useState<EasterEgg | undefined>();