diff --git a/src/main.tsx b/src/main.tsx index 4dfb752..b75ae05 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -16,6 +16,7 @@ import NotFound from './pages/NotFound'; import { AdminPanel } from './pages/AdminPanel.lazy'; import { ProtectedRoute } from './components/layout/ProtectedRoute'; import { getBasePath } from './lib/basePath'; +import { loadLogoOnce } from './lib/logoCache'; (() => { try { @@ -42,6 +43,8 @@ import { getBasePath } from './lib/basePath'; } catch {} })(); +loadLogoOnce(); + const basePath = getBasePath(); const router = createBrowserRouter( diff --git a/src/types/schema.ts b/src/types/schema.ts index 20dae49..a415dd8 100644 --- a/src/types/schema.ts +++ b/src/types/schema.ts @@ -256,11 +256,7 @@ export interface MassActionSeparator { } export type ItemAction = - | ItemActionDelete - | ItemActionSetProperty - | ItemActionQuery - | ItemActionView - | ItemActionSeparator; + ItemActionDelete | ItemActionSetProperty | ItemActionQuery | ItemActionView | ItemActionSeparator; export interface ItemActionDelete { type: 'delete';