File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed
Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ const RepoList = ({ username }: Props) => {
5353 />
5454 ) )
5555 ) : (
56- < h2 className = "repo-list__placeholder" >
57- < Empty description = { false } />
58- { username } doesn’t have any repositories yet.
59- </ h2 >
56+ < Empty
57+ className = "repo-list__placeholder"
58+ description = { < h2 > { username } doesn’t have any repositories yet.</ h2 > }
59+ / >
6060 ) }
6161 </ div >
6262 < div className = "repo-list__pagination mt-6" >
Original file line number Diff line number Diff line change 3333 line-height : 28px ;
3434 }
3535
36- & __btn .follow ,
37- & __btn .unfollow ,
38- & __btn .edit {
39- display : block ;
36+ & __btn {
37+ display : block !important ;
4038 margin-top : 10px ;
4139 transition : 0.4s ;
4240 }
Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ const UserInfo = ({ username }: Props) => {
3333 < h4 className = "user-info__username" > { username } </ h4 >
3434 < span className = "user-info__bio" > { bio } </ span >
3535 { isViewer ? (
36- < Button className = "user-info__btn edit " disabled title = "While not available" >
36+ < Button className = "user-info__btn" disabled title = "While not available" >
3737 Edit profile
3838 </ Button >
3939 ) : (
4040 < Button
4141 type = { viewerIsFollowing ? "primary" : "default" }
42- className = { ` user-info__btn ${ label } ` }
42+ className = " user-info__btn"
4343 onClick = { ( ) => following . handle ( id , viewerIsFollowing ) }
4444 loading = { following . debouncedLodaing }
4545 >
You can’t perform that action at this time.
0 commit comments