Refactor profile button in Header component to include a link to "/roof2"

This commit is contained in:
yoosangwook 2024-09-27 17:42:03 +09:00
parent 8fe1620b05
commit 7c26319be0

View File

@ -137,7 +137,9 @@ export default function Header(props) {
</div>
<div className="header-left">
<div className="profile-box">
<button className="profile">{userSession.userNm}</button>
<Link href="/roof2">
<button className="profile">{userSession.userNm}</button>
</Link>
</div>
<div className="sign-out-box">
<button className="sign-out" onClick={() => logout()}>