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 88b844c + 5f1c122 commit 80542e3Copy full SHA for 80542e3
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