From fd1ca9415ed1225fd474538ca522f209185a8659 Mon Sep 17 00:00:00 2001 From: soo yeon <80268199+sypaik-dev@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:36:55 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Rename:=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=ED=95=84=20=ED=8F=BC=EA=B3=BC=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=ED=8F=B4=EB=8D=94=20=EC=B6=94=EA=B0=80=EC=97=90=20=EB=94=B0?= =?UTF-8?q?=EB=A5=B8=20=EA=B2=BD=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Profile/{ => ProfileForm}/ProfileForm.jsx | 12 ++++++------ .../Profile/{ => ProfileImage}/ProfileImage.jsx | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) rename src/components/Profile/{ => ProfileForm}/ProfileForm.jsx (89%) rename src/components/Profile/{ => ProfileImage}/ProfileImage.jsx (87%) diff --git a/src/components/Profile/ProfileForm.jsx b/src/components/Profile/ProfileForm/ProfileForm.jsx similarity index 89% rename from src/components/Profile/ProfileForm.jsx rename to src/components/Profile/ProfileForm/ProfileForm.jsx index 4c0c1f1..ed3657e 100644 --- a/src/components/Profile/ProfileForm.jsx +++ b/src/components/Profile/ProfileForm/ProfileForm.jsx @@ -1,12 +1,12 @@ import React from 'react'; import { useLocation } from 'react-router-dom'; -import Input from '../common/Input/Input'; -import Button from '../common/Button/Button'; -import ProfileImage from './ProfileImage'; -import { useFieldController } from '../../hook/useFieldController'; +import Input from '../../common/Input/Input'; +import Button from '../../common/Button/Button'; +import ProfileImage from '../ProfileImage/ProfileImage'; +import { useFieldController } from '../../../hook/useFieldController'; import { useForm } from 'react-hook-form'; -import { PATTERN, MESSAGE } from '../../constants/validation'; -import useImageUpload from '../../hook/useImageUpload'; +import { PATTERN, MESSAGE } from '../../../constants/validation'; +import useImageUpload from '../../../hook/useImageUpload'; const ProfileForm = ({ myInfo, accountname, isError, message, userEmail, userPassword, signup, edit }) => { diff --git a/src/components/Profile/ProfileImage.jsx b/src/components/Profile/ProfileImage/ProfileImage.jsx similarity index 87% rename from src/components/Profile/ProfileImage.jsx rename to src/components/Profile/ProfileImage/ProfileImage.jsx index 5204693..034c882 100644 --- a/src/components/Profile/ProfileImage.jsx +++ b/src/components/Profile/ProfileImage/ProfileImage.jsx @@ -1,8 +1,8 @@ import React from 'react'; import styled, { css } from 'styled-components'; -import AddImg from '../../assets/sprite/img-btn.svg'; -import AddDarkImg from '../../assets/sprite/img-btn-dark.svg'; -import BasicProfileImg from '../../assets/images/basic-profile-l.svg'; +import AddImg from '../../../assets/sprite/img-btn.svg'; +import AddDarkImg from '../../../assets/sprite/img-btn-dark.svg'; +import BasicProfileImg from '../../../assets/images/basic-profile-l.svg'; const ProfileImage = ({ prevImage, previewImage, handleImage }) => { return (