File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ import {
4646 AddButton ,
4747 NoPostWrapper ,
4848 Button ,
49+ ButtonSkeleton ,
4950} from './styles' ;
5051
5152const Profile : React . FC = ( ) => {
@@ -136,9 +137,9 @@ const Profile: React.FC = () => {
136137 </ Header >
137138
138139 { /* 버튼 스켈레톤 */ }
139- < div style = { { width : '90%' , margin : '16px auto' } } >
140- < Skeleton width = "100%" height = { 40 } borderRadius = { 10 } />
141- </ div >
140+ < ButtonSkeleton >
141+ < Skeleton width = "100%" height = { 40 } />
142+ </ ButtonSkeleton >
142143
143144 { /* 통계 스켈레톤 */ }
144145 < StatsContainer >
Original file line number Diff line number Diff line change @@ -102,3 +102,8 @@ export const Button = styled.button`
102102 padding: 10px;
103103 background: ${ ( { theme } ) => theme . colors . brand . gradient } ;
104104` ;
105+
106+ export const ButtonSkeleton = styled . button `
107+ width: 90%;
108+ margin: 16px auto;
109+ ` ;
You can’t perform that action at this time.
0 commit comments