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-07-17 14:40:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8786550187cacebedb0bfaf9093a15074b3ab177
87865501
1 parent
a6c6713c
remove defaultimage
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
front/src/Components/ProfileIcon.js
front/src/Components/ProfileIcon.js
View file @
8786550
import
React
from
"react"
;
import
styled
from
"styled-components"
;
import
DefaultIcon
from
"../imgs/defaultProfile.jpg"
;
const
ProfileIconBox
=
styled
.
div
`
display: flex;
...
...
@@ -18,7 +17,7 @@ const ProfileIcon = styled.img`
export
default
({
avatar
})
=>
{
return
(
<
ProfileIconBox
className
=
"ProfileIconBox"
>
<
ProfileIcon
src
=
{
DefaultIcon
}
avatar
=
{
avatar
}
/
>
<
ProfileIcon
src
=
{
""
}
avatar
=
{
avatar
}
/
>
<
/ProfileIconBox
>
);
};
...
...
Please
register
or
login
to post a comment