Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cakaatalk-web-vanila
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-team9
Frontend
cakaatalk-web-vanila
Commits
7aa9ae80
Commit
7aa9ae80
authored
1 year ago
by
yeonnnnjs
Browse files
Options
Downloads
Patches
Plain Diff
feat : Modify assets issue
parent
2394cf55
Branches
main
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Components/User/FriendsList.js
+0
-1
0 additions, 1 deletion
src/Components/User/FriendsList.js
src/Components/User/ProfileUpdate.js
+1
-2
1 addition, 2 deletions
src/Components/User/ProfileUpdate.js
with
1 addition
and
3 deletions
src/Components/User/FriendsList.js
+
0
−
1
View file @
7aa9ae80
...
@@ -3,7 +3,6 @@ import UserComponent from "./UserComponent";
...
@@ -3,7 +3,6 @@ import UserComponent from "./UserComponent";
import
UserService
from
"
../../API/UserService
"
;
import
UserService
from
"
../../API/UserService
"
;
import
ChatService
from
"
../../API/ChatService
"
;
import
ChatService
from
"
../../API/ChatService
"
;
import
AuthService
from
"
../../API/AuthService
"
;
import
AuthService
from
"
../../API/AuthService
"
;
import
Comment
from
"
../../assets/comment-icon.png
"
;
import
env
from
'
../Common/dotenv
'
;
import
env
from
'
../Common/dotenv
'
;
import
{
useEffect
,
useState
}
from
"
react
"
;
import
{
useEffect
,
useState
}
from
"
react
"
;
...
...
This diff is collapsed.
Click to expand it.
src/Components/User/ProfileUpdate.js
+
1
−
2
View file @
7aa9ae80
...
@@ -3,7 +3,6 @@ import UserService from "../../API/UserService";
...
@@ -3,7 +3,6 @@ import UserService from "../../API/UserService";
import
env
from
'
../Common/dotenv
'
;
import
env
from
'
../Common/dotenv
'
;
function
ProfileUpdate
({
onClose
,
origin_image
,
origin_comment
,
name
})
{
function
ProfileUpdate
({
onClose
,
origin_image
,
origin_comment
,
name
})
{
const
[
image
,
setImage
]
=
useState
(
null
);
const
[
imageUrl
,
setImageUrl
]
=
useState
(
origin_image
);
const
[
imageUrl
,
setImageUrl
]
=
useState
(
origin_image
);
const
[
comment
,
setComment
]
=
useState
(
origin_comment
);
const
[
comment
,
setComment
]
=
useState
(
origin_comment
);
const
popupRef
=
useRef
();
const
popupRef
=
useRef
();
...
@@ -30,7 +29,7 @@ function ProfileUpdate({ onClose, origin_image, origin_comment, name }) {
...
@@ -30,7 +29,7 @@ function ProfileUpdate({ onClose, origin_image, origin_comment, name }) {
}
}
const
data
=
await
response
.
json
();
const
data
=
await
response
.
json
();
setImageUrl
(
`
${
base
URL
}${
data
.
imageUrl
}
`
);
// 서버로부터 받은 이미지 URL
setImageUrl
(
`
${
env
.
REACT_APP_IMAGE_BASE_
URL
}${
data
.
imageUrl
}
`
);
// 서버로부터 받은 이미지 URL
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
error
);
console
.
error
(
error
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment