/** * ╔══════════════════════════════════════════════════════════════════╗ * ║ ║ * ║ ░█▀▀░█▀█░█▀▄░█▀▀░█░█ ░█▀▄░█▀▀░█░█░█▀▀ ║ * ║ ░█░░░█░█░█░█░█▀▀░▄▀▄ ░█░█░█▀▀░▀▄▀░▀▀█ ║ * ║ ░▀▀▀░▀▀▀░▀▀░░▀▀▀░▀░▀ ░▀▀░░▀▀▀░░▀░░▀▀▀ ║ * ║ ║ * ║ © 2026 CodeX Devs — All Rights Reserved ║ * ║ ║ * ║ discord ── https://discord.gg/codexdev ║ * ║ youtube ── https://youtube.com/@CodeXDevs ║ * ║ github ── https://github.com/RayExo ║ * ║ ║ * ╚══════════════════════════════════════════════════════════════════╝ */ 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 }; }