refacto(db): remove localstorage service

This commit is contained in:
Julien Froidefond
2025-02-14 21:40:04 +01:00
parent 85eeae0a1b
commit d7bed4df6d
5 changed files with 4 additions and 268 deletions

View File

@@ -7,7 +7,6 @@ import { cn } from "@/lib/utils";
import { authService } from "@/lib/services/auth.service";
import { useEffect, useState, useCallback } from "react";
import { KomgaLibrary, KomgaSeries } from "@/types/komga";
import { storageService } from "@/lib/services/storage.service";
interface SidebarProps {
isOpen: boolean;
@@ -99,7 +98,6 @@ export function Sidebar({ isOpen, onClose }: SidebarProps) {
const handleLogout = () => {
authService.logout();
storageService.clearAll();
setLibraries([]);
setFavorites([]);
onClose();