chore: remove unused code

This commit is contained in:
reya
2024-06-24 11:09:32 +07:00
parent 6e5d0f0e76
commit 31bacc2646
10 changed files with 31 additions and 178 deletions

View File

@@ -1,19 +1,9 @@
import type { Settings } from "@lume/system";
import { Spinner } from "@lume/ui";
import type { QueryClient } from "@tanstack/react-query";
import { Outlet, createRootRouteWithContext } from "@tanstack/react-router";
import type { Platform } from "@tauri-apps/plugin-os";
interface RouterContext {
// System
queryClient: QueryClient;
// App info
platform?: Platform;
locale?: string;
// Settings
settings?: Settings;
// Accounts
accounts?: string[];
}
export const Route = createRootRouteWithContext<RouterContext>()({