"use client"; import { Info } from "lucide-react"; import { useSystemStatus } from "@/hooks/use-auth"; import { isLocalConvenience } from "@/lib/auth"; export function LocalModeBanner() { const { data } = useSystemStatus(); if (!data || !isLocalConvenience(data)) return null; return (
Local development mode — you're using a fixed local account, no login required. This only applies to requests from this machine; anyone reaching this app over a LAN or WAN connection needs a real account.
); }