diff --git a/app/logs/page.tsx b/app/logs/page.tsx index c108a33..7866953 100644 --- a/app/logs/page.tsx +++ b/app/logs/page.tsx @@ -358,7 +358,9 @@ function LogsPageInner() { {entry.name ?? -} - {entry.uid === undefined ? ( + {entry.keyId === null ? ( + "Remote Access" + ) : entry.uid === undefined ? ( - ) : entry.uid === null ? ( "Mobile Key" diff --git a/components/AuthGate.tsx b/components/AuthGate.tsx index 3614f38..87d974d 100644 --- a/components/AuthGate.tsx +++ b/components/AuthGate.tsx @@ -3,9 +3,9 @@ import { Container, Spinner } from "react-bootstrap"; import { useSession, signIn } from "next-auth/react"; import { AUTH_PROVIDER_ID, REFRESH_TOKEN_ERROR } from "@/lib/constants"; -import { useEffect } from "react"; +import { useEffect, type ReactNode } from "react"; -export default function AuthGate({ children }) { +export default function AuthGate({ children }: {children: ReactNode}) { const { data: session, status } = useSession({ required: true, onUnauthenticated() {