diff --git a/aimenet-web/app/page.tsx b/aimenet-web/app/page.tsx index 23794ef..c27a5b8 100644 --- a/aimenet-web/app/page.tsx +++ b/aimenet-web/app/page.tsx @@ -8,7 +8,7 @@ import {useForm} from "react-hook-form"; import {useRouter} from "next/navigation"; import {AppRouterInstance} from "next/dist/shared/lib/app-router-context.shared-runtime"; import { - ChevronRight, + ChevronRight, CreditCard, Earth, History, Loader, @@ -35,6 +35,7 @@ import { } from "@/components/ui/context-menu"; import {Alert, AlertDescription, AlertTitle} from "@/components/ui/alert"; import {Form, FormControl, FormField, FormItem, FormMessage} from "@/components/ui/form"; +import {useMediaQuery} from "@/hooks/use-media-query"; const serverAdditionSchema = z.object({ address: z.string().startsWith("http") @@ -220,10 +221,17 @@ function ServerAddForm() { export default function ServerListingPage() { const servers = useLiveQuery(() => db.servers.toArray()); + const router = useRouter(); return (
-

Servers

+
+

Servers

+ +