Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
travel
Commits
32764f1e
Commit
32764f1e
authored
Jul 27, 2022
by
Yoon, Daeki
😅
Browse files
profile user image avatar로 다시 변경
parent
ac3ddf08
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/auth/profile.tsx
View file @
32764f1e
...
@@ -59,7 +59,7 @@ export default function Profile() {
...
@@ -59,7 +59,7 @@ export default function Profile() {
const
user
:
Profile
=
await
profileApi
.
profile
();
const
user
:
Profile
=
await
profileApi
.
profile
();
console
.
log
(
"
user in effect
"
,
user
);
console
.
log
(
"
user in effect
"
,
user
);
setEmail
(
user
.
email
);
setEmail
(
user
.
email
);
setAvatarUrl
(
user
.
fileInfo
?.
newfilename
);
setAvatarUrl
(
user
.
avatar
?.
newfilename
);
setProfile
({
...
profile
,
name
:
user
.
name
});
setProfile
({
...
profile
,
name
:
user
.
name
});
};
};
getProfile
();
getProfile
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment