File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ const HeaderDashboard: React.FC<HeaderDashboardProps> = ({
136136 if ( dashboardId ) {
137137 router . push ( `/dashboard/${ dashboardId } /edit` ) ;
138138 } else {
139- router . push ( "mydashboard" ) ;
139+ router . push ( "/ mydashboard" ) ;
140140 }
141141 } }
142142 className = "flex items-center justify-center w-[49px] h-[30px] md:w-[85px] md:h-[36px] lg:w-[88px] lg:h-[40px] rounded-[8px] border border-[#D9D9D9] gap-[10px] cursor-pointer"
@@ -211,7 +211,10 @@ const HeaderDashboard: React.FC<HeaderDashboardProps> = ({
211211 < SkeletonUser />
212212 ) : (
213213 user && (
214- < div className = "flex items-center pr-[10px] md:pr-[30px] lg:pr-[80px] gap-[12px]" >
214+ < div
215+ onClick = { ( ) => router . push ( "/mypage" ) }
216+ className = "flex items-center pr-[10px] md:pr-[30px] lg:pr-[80px] gap-[12px] cursor-default"
217+ >
215218 < div className = "relative w-[34px] h-[34px] md:w-[38px] md:h-[38px] rounded-full" >
216219 { user . profileImageUrl ? (
217220 < Image
Original file line number Diff line number Diff line change 11import { Modal } from "./Modal" ;
2- import { CustomBtn } from "../button/CustomBtn " ;
2+ import { CustomBtn } from "../button/CustomButton " ;
33import { ReactNode } from "react" ;
44
55interface MypageModalProps {
You can’t perform that action at this time.
0 commit comments