Fix missing signIn and signUp destructuring in Checkout

The auth functions were being called but not destructured from useAuth hook,
causing ReferenceError at runtime.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
dwindown
2026-01-02 20:57:34 +07:00
parent 72799b981d
commit 2ce5c2efe8

View File

@@ -24,7 +24,7 @@ type CheckoutStep = "cart" | "payment";
export default function Checkout() { export default function Checkout() {
const { items, removeItem, clearCart, total } = useCart(); const { items, removeItem, clearCart, total } = useCart();
const { user } = useAuth(); const { user, signIn, signUp } = useAuth();
const navigate = useNavigate(); const navigate = useNavigate();
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);