Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-06-03 23:59:29 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
18aa2bde711faa0138e8089a510b4ee371d735f6
18aa2bde
1 parent
cf974e88
remove console.log
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
front/src/Components/ProfileIcon.js
front/src/Components/ProfileIcon.js
View file @
18aa2bd
...
...
@@ -16,12 +16,9 @@ const ProfileIcon = styled.img`
`
;
export
default
({
avatar
})
=>
{
if
(
avatar
===
""
)
{
console
.
log
(
"avatar link is empty"
);
}
return
(
<
ProfileIconBox
className
=
"ProfileIconBox"
>
<
ProfileIcon
src
=
{
DefaultIcon
}
/
>
<
ProfileIcon
src
=
{
DefaultIcon
}
avatar
=
{
avatar
}
/
>
<
/ProfileIconBox
>
);
};
...
...
Please
register
or
login
to post a comment