/** * ╔══════════════════════════════════════════════════════════════════╗ * ║ ║ * ║ +-+-+-+-+-+-+-+-+ ║ * ║ |H|e|x|a|H|o|s|t| ║ * ║ +-+-+-+-+-+-+-+-+ ║ * ║ ║ * ║ © 2026 HexaHost — All Rights Reserved ║ * ║ ║ * ║ discord ── https://discord.gg/hexahost ║ * ║ github ── https://github.com/theoneandonlymace ║ * ║ ║ * ╚══════════════════════════════════════════════════════════════════╝ */ import { useState, useEffect } from "react"; export function useAuth() { const [user, setUser] = useState(null); const [loading, setLoading] = useState(true); useEffect(() => { // Basic auth check logic will go here setLoading(false); }, []); return { user, loading }; }