Skip to content

Commit

Permalink
Merge pull request #42 from 100-hours-a-week/Yeonsu00-12-patch-2
Browse files Browse the repository at this point in the history
Update App.tsx
  • Loading branch information
Yeonsu00-12 authored Aug 20, 2024
2 parents 6373500 + 5a094f6 commit 9b9e0fc
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ import Profile from "./Component/Layout/Header/Profile";
function App() {
const { user, login, logout } = useAuth();
return (
// // <div>
// {/* // {user ? ( */}
// // <>
// // <Header />
// // <Profile />
// // <GlobalStyle />
// // <Router />
// // </>
// // ) : (
// // <div className="app-container">
// // <div
// // style={{
// // display: "flex",
// // width: "500px",
// // height: "100vh",
// // backgroundColor: "#fff",
// // alignContent: "center",
// // alignItems: "center",
// // justifyContent: "center",
// // }}
// // >
// // <GoogleLogin />
// // </div>
// // </div>
// // )}
<>
<div>
{user ? (
<>
<Header />
<Profile />
<GlobalStyle />
<Router />
</>
) : (
<div className="app-container">
<div
style={{
display: "flex",
width: "500px",
height: "100vh",
backgroundColor: "#fff",
alignContent: "center",
alignItems: "center",
justifyContent: "center",
}}
>
<GoogleLogin />
</div>
</div>
)}
{/* <>
<GlobalStyle />
<Router />
</>
</> */}
);
}

Expand Down

0 comments on commit 9b9e0fc

Please sign in to comment.