File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -82,11 +82,11 @@ export const Header = () => {
8282 width = { 35 }
8383 height = { 35 }
8484 className = "rounded-full"
85- src = { profiles ?. user ?. profile . thumbnail || '/profile.jpg' }
85+ src = { profiles ?. profile . thumbnail || '/profile.jpg' }
8686 alt = ""
8787 />
8888 < span className = { textStyle ( 'username' ) } >
89- { profiles ?. user ?. username || 'NULL' }
89+ { profiles ?. username || 'NULL' }
9090 </ span >
9191 </ div >
9292 { open && (
Original file line number Diff line number Diff line change @@ -4,12 +4,10 @@ export type LoginVo = {
44} ;
55
66export type UserDto = {
7- user : {
8- id : string ;
9- username : string ;
10- email : string ;
11- profile : {
12- thumbnail : string ;
13- } ;
7+ id : string ;
8+ username : string ;
9+ email : string ;
10+ profile : {
11+ thumbnail : string ;
1412 } ;
1513} ;
You can’t perform that action at this time.
0 commit comments