// src/App.jsx
import { useState } from "react";
function LoginButton() {
const [isLoggedIn, setIsLoggedIn] = useState(false);
return (
{isLoggedIn ? (
) : (
)}
);
}
function App() {
return ;
}
export default App;
/*
Notes:
- The ternary picks between two completely different