refactor: move theme store to a new directory and update import paths

This commit is contained in:
Firman Ramdhani
2026-07-10 23:00:41 +07:00
parent 2b8f9a9cbc
commit acd597305a
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { BrowserRouter, Navigate, Route, Routes } from 'react-router-dom';
import { ThemeProvider, DensityType } from '@repo/ui/provider';
import { NotFound, Forbidden, Maintenance, ComingSoon } from '@repo/ui/components';
import { LoadingScreen } from '../core/components/loading-screen';
import { useThemeStore } from '../core/store/theme.store';
import { useThemeStore } from '../core/stores/theme.store';
const AuthModule = lazy(() => import('./auth'));
const AppModule = lazy(() => import('./modules'));
@@ -14,7 +14,7 @@ import {
} from '@repo/ui/components';
import { Globe, Bell, HelpCircle, Settings, User, Briefcase, LogOut, ChevronDown, Sun, Moon } from 'lucide-react';
import { AppStorageKey, secureStorage } from '../../../../core/storage/local';
import { useThemeStore } from '../../../../core/store/theme.store';
import { useThemeStore } from '../../../../core/stores/theme.store';
import { NotificationDropdown } from './notifications/notification-dropdown';
import { Link } from 'react-router-dom';
+1 -1
View File
@@ -1,7 +1,7 @@
import { useState, Suspense } from 'react';
import { useNavigate } from 'react-router-dom';
import { ColorSchemeType, DensityType } from '@repo/ui/provider';
import { useThemeStore } from '../../core/store/theme.store';
import { useThemeStore } from '../../core/stores/theme.store';
import {
Button,
Card,