We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f32aa9 + 6e61054 commit 5f1c122Copy full SHA for 5f1c122
src/components/header/MainHeader.tsx
@@ -3,7 +3,7 @@ import LoginButton from "../button/LoginButton";
3
4
const MainHeader = ({isLoggedIn}: {isLoggedIn : boolean})=> {
5
return (
6
- <header className="bg-white flex h-[56px] w-full justify-between px-5">
+ <header className="bg-white flex h-[56px] w-full justify-between items-center px-5">
7
<Link to="/" className="flex items-center">
8
<img
9
src="/public/icon/mbtipslogo.svg"
@@ -12,7 +12,7 @@ const MainHeader = ({isLoggedIn}: {isLoggedIn : boolean})=> {
12
height={31}
13
/>
14
</Link>
15
- {isLoggedIn ? <LoginButton/> : <img
+ {!isLoggedIn ? <LoginButton/> : <img
16
src="/public/icon/people.svg"
17
alt="Login Done"
18
className="mx-auto mr-[20px]"
0 commit comments