Enhance EntryTraceDialog component by refactoring data display logic into dedicated summary functions for improved readability and maintainability. Update GridTab to streamline checkbox state management with a new toggle function. Refactor RulesCard to simplify window removal logic. Adjust CollectionsPanel, GenresPanel, GroupsPanel, RolesPanel, ShowsPanel, and UsersPanel to import sorting utilities from a centralized location, enhancing code organization. Update ThemeProvider to utilize a shared theme context for better consistency across the application.
This commit is contained in:
@@ -4,7 +4,7 @@ import { useTranslation } from 'react-i18next'
|
||||
import { Menu, Radio, X } from 'lucide-react'
|
||||
import { useAuthStore } from '@/features/auth/store'
|
||||
import { bootstrapSession, logout, clearSession } from '@/features/auth/api'
|
||||
import { useTheme } from '@/theme/ThemeProvider'
|
||||
import { useTheme } from '@/theme/theme-context'
|
||||
import { setLanguage } from '@/shared/lib/i18n'
|
||||
import { cn } from '@/shared/lib/cn'
|
||||
import { UploadSnackbar } from '@/features/admin/media/UploadSnackbar'
|
||||
|
||||
Reference in New Issue
Block a user