fix(merge): remove upstream loadLogoOnce leftover, restore schema.ts formatting
main.tsx no longer needs an eager logo fetch call: Logo.tsx already triggers ensureLogoLoaded() from logoCache.ts (the fork's own implementation, kept over upstream's during the sync merge).
This commit is contained in:
@@ -16,7 +16,6 @@ import NotFound from './pages/NotFound';
|
|||||||
import { AdminPanel } from './pages/AdminPanel.lazy';
|
import { AdminPanel } from './pages/AdminPanel.lazy';
|
||||||
import { ProtectedRoute } from './components/layout/ProtectedRoute';
|
import { ProtectedRoute } from './components/layout/ProtectedRoute';
|
||||||
import { getBasePath } from './lib/basePath';
|
import { getBasePath } from './lib/basePath';
|
||||||
import { loadLogoOnce } from './lib/logoCache';
|
|
||||||
|
|
||||||
(() => {
|
(() => {
|
||||||
try {
|
try {
|
||||||
@@ -43,8 +42,6 @@ import { loadLogoOnce } from './lib/logoCache';
|
|||||||
} catch {}
|
} catch {}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
loadLogoOnce();
|
|
||||||
|
|
||||||
const basePath = getBasePath();
|
const basePath = getBasePath();
|
||||||
|
|
||||||
const router = createBrowserRouter(
|
const router = createBrowserRouter(
|
||||||
|
|||||||
+5
-1
@@ -256,7 +256,11 @@ export interface MassActionSeparator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type ItemAction =
|
export type ItemAction =
|
||||||
ItemActionDelete | ItemActionSetProperty | ItemActionQuery | ItemActionView | ItemActionSeparator;
|
| ItemActionDelete
|
||||||
|
| ItemActionSetProperty
|
||||||
|
| ItemActionQuery
|
||||||
|
| ItemActionView
|
||||||
|
| ItemActionSeparator;
|
||||||
|
|
||||||
export interface ItemActionDelete {
|
export interface ItemActionDelete {
|
||||||
type: 'delete';
|
type: 'delete';
|
||||||
|
|||||||
Reference in New Issue
Block a user