@@ -11,23 +11,24 @@ import {
1111 UserInfo ,
1212 Username ,
1313 EmailInput ,
14- } from './styles' ;
14+ } from './styles' ;
1515import { StyledText } from '@components/Text/StyledText' ;
1616import theme from '@styles/theme' ;
1717import { OODDFrame } from '@components/Frame/Frame' ;
1818import { useNavigate } from 'react-router-dom' ;
1919import { ref , uploadBytes , getDownloadURL } from 'firebase/storage' ;
2020import { storage } from '@config/firebaseConfig' ;
21- import Modal from '@components/Modal' ;
21+ import Modal from '@components/Modal/index ' ;
2222
23- import TopBar from '@components/TopBar' ;
23+ import TopBar from '@components/TopBar/index ' ;
2424import back from '@assets/arrow/left.svg' ;
25- import BottomButton from '@components/BottomButton' ;
25+ import BottomButton from '@components/BottomButton/index ' ;
2626import imageBasic from '@assets/default/defaultProfile.svg' ;
27- import Loading from '@components/Loading' ;
27+ import Loading from '@components/Loading/index ' ;
2828import camera from '@assets/default/camera.svg' ;
2929import { getUserInfoApi , patchUserInfoApi } from '@apis/user' ;
30- import { UserInfoData , PatchUserInfoRequest } from '@apis/user/dto' ;
30+ import type { UserInfoData , PatchUserInfoRequest } from '@apis/user/dto' ; // type 명시
31+
3132
3233type ExtendedUserInfoData = UserInfoData & {
3334 birthDate ?: string ; // 확장된 속성
@@ -178,42 +179,42 @@ const ProfileEdit: React.FC = () => {
178179 < FileInput type = "file" ref = { fileInputRef } onChange = { handleFileChange } />
179180 </ ProfilePicWrapper >
180181 < UserInfo >
181- < StyledText $textTheme = { { style : 'Heading' , lineHeight : 0 } } color = { theme . colors . gray [ 600 ] } >
182+ < StyledText $textTheme = { { style : 'Heading' } } color = { theme . colors . tertiary } >
182183 < Username > { nickname || '알수없음' } </ Username >
183184 </ StyledText >
184185 </ UserInfo >
185186 < Row >
186- < StyledText $textTheme = { { style : 'body2-regular' , lineHeight : 0 } } color = { theme . colors . gray [ 600 ] } >
187+ < StyledText $textTheme = { { style : 'body2-regular' } } color = { theme . colors . tertiary } >
187188 이름
188189 </ StyledText >
189190 < Input type = "text" value = { name } onChange = { ( e ) => setName ( e . target . value ) } />
190191 </ Row >
191192 < Row >
192- < StyledText $textTheme = { { style : 'body2-regular' , lineHeight : 0 } } color = { theme . colors . gray [ 600 ] } >
193+ < StyledText $textTheme = { { style : 'body2-regular' } } color = { theme . colors . tertiary } >
193194 닉네임
194195 </ StyledText >
195196 < Input type = "text" value = { nickname } onChange = { ( e ) => setNickname ( e . target . value ) } />
196197 </ Row >
197198 < Row >
198- < StyledText $textTheme = { { style : 'body2-regular' , lineHeight : 0 } } color = { theme . colors . gray [ 600 ] } >
199+ < StyledText $textTheme = { { style : 'body2-regular' } } color = { theme . colors . tertiary } >
199200 소개글
200201 </ StyledText >
201202 < Input value = { bio } onChange = { ( e ) => setBio ( e . target . value ) } />
202203 </ Row >
203204 < Row >
204- < StyledText $textTheme = { { style : 'body2-regular' , lineHeight : 0 } } color = { theme . colors . gray [ 600 ] } >
205+ < StyledText $textTheme = { { style : 'body2-regular' } } color = { theme . colors . tertiary } >
205206 전화번호
206207 </ StyledText >
207208 < Input type = "text" value = { phoneNumber } onChange = { ( e ) => setPhoneNumber ( e . target . value ) } />
208209 </ Row >
209210 < Row >
210- < StyledText $textTheme = { { style : 'body2-regular' , lineHeight : 0 } } color = { theme . colors . gray [ 600 ] } >
211+ < StyledText $textTheme = { { style : 'body2-regular' } } color = { theme . colors . tertiary } >
211212 생년월일
212213 </ StyledText >
213214 < Input type = "date" value = { birthDate } onChange = { ( e ) => setBirthDate ( e . target . value ) } />
214215 </ Row >
215216 < Row >
216- < StyledText $textTheme = { { style : 'body2-regular' , lineHeight : 0 } } color = { theme . colors . gray [ 600 ] } >
217+ < StyledText $textTheme = { { style : 'body2-regular' } } color = { theme . colors . tertiary } >
217218 이메일
218219 </ StyledText >
219220 < EmailInput type = "email" value = { email } onChange = { ( e ) => setEmail ( e . target . value ) } />
0 commit comments