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 @@
import { useCallback, useRef } from "react";
import { PageCache } from "../types";
import { KomgaBook } from "@/types/komga";
import type { PageCache } from "../types";
import type { KomgaBook } from "@/types/komga";
interface UsePageCacheProps {
book: KomgaBook;

View File

@@ -1,5 +1,5 @@
import { useState, useCallback, useEffect, useRef } from "react";
import { KomgaBook } from "@/types/komga";
import type { KomgaBook } from "@/types/komga";
import { ClientOfflineBookService } from "@/lib/services/client-offlinebook.service";
interface UsePageNavigationProps {

View File

@@ -1,5 +1,5 @@
import { useState, useCallback, useEffect } from "react";
import { KomgaBook } from "@/types/komga";
import type { KomgaBook } from "@/types/komga";
interface UseThumbnailsProps {
book: KomgaBook;