diff --git a/apps/desktop/src/routes/(window-chrome)/permissions.tsx b/apps/desktop/src/routes/(window-chrome)/permissions.tsx index 3894fd19..e95c73ef 100644 --- a/apps/desktop/src/routes/(window-chrome)/permissions.tsx +++ b/apps/desktop/src/routes/(window-chrome)/permissions.tsx @@ -1,10 +1,7 @@ import { Button } from "@cap/ui-solid"; -import type { RouteSectionProps } from "@solidjs/router"; -import { commands, OSPermission, type OSPermissionStatus } from "~/utils/tauri"; import { createEffect, createResource, - Suspense, createSignal, Show, For, @@ -12,9 +9,8 @@ import { } from "solid-js"; import { createTimer } from "@solid-primitives/timer"; import { getCurrentWindow } from "@tauri-apps/api/window"; -import { Transition } from "solid-transition-group"; -import Header from "../../components/Header"; +import { commands, OSPermission, type OSPermissionStatus } from "~/utils/tauri"; function isPermitted(status?: OSPermissionStatus): boolean { return status === "granted" || status === "notNeeded"; @@ -66,7 +62,7 @@ export default function () { }; return ( -
+

Permissions Required

@@ -110,14 +106,14 @@ export default function () {