export default function AuthLayout({ mode, onSwitchMode, children }) { const isForgot = mode === "forgot"; return (
T

TradeMind

{isForgot ? "Password recovery" : mode === "signin" ? "Sign in to your account" : "Create an account"}

{/* Hide tab switcher on the forgot-password screen */} {!isForgot && (
)}
{children}
); }