fix: lint type import

This commit is contained in:
Julien Froidefond
2025-03-02 14:02:23 +01:00
parent e8386a4834
commit a4b521fe2e
78 changed files with 595 additions and 242 deletions

View File

@@ -1,6 +1,6 @@
"use client";
import { KomgaBook } from "@/types/komga";
import type { KomgaBook } from "@/types/komga";
import { BookCover } from "@/components/ui/book-cover";
import { useState, useEffect } from "react";
import { useTranslate } from "@/hooks/useTranslate";

View File

@@ -6,7 +6,7 @@ import { useRouter, usePathname, useSearchParams } from "next/navigation";
import { useState, useEffect } from "react";
import { Loader2, Filter } from "lucide-react";
import { cn } from "@/lib/utils";
import { KomgaBook } from "@/types/komga";
import type { KomgaBook } from "@/types/komga";
import { useTranslate } from "@/hooks/useTranslate";
interface PaginatedBookGridProps {

View File

@@ -1,7 +1,7 @@
"use client";
import { Book, BookOpen, BookMarked, Star, StarOff } from "lucide-react";
import { KomgaSeries } from "@/types/komga";
import type { KomgaSeries } from "@/types/komga";
import { useState, useEffect } from "react";
import { Button } from "../ui/button";
import { useToast } from "@/components/ui/use-toast";