From 9d4fc25e0c55da300ab60938ba98e3d66020a8cb Mon Sep 17 00:00:00 2001 From: shlee9999 <95556588+shlee9999@users.noreply.github.com> Date: Sun, 8 Dec 2024 22:23:46 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9BFix:=20=EB=B6=88=ED=95=84=EC=9A=94?= =?UTF-8?q?=ED=95=9C=20import=EB=AC=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/RegisterPage/Register/index.tsx | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/pages/RegisterPage/Register/index.tsx b/src/pages/RegisterPage/Register/index.tsx index b0aa005..0ced3bf 100644 --- a/src/pages/RegisterPage/Register/index.tsx +++ b/src/pages/RegisterPage/Register/index.tsx @@ -1,23 +1,22 @@ -import * as S from './styles' +import { useEffect } from 'react' import { Helmet } from 'react-helmet-async' +import { useNavigate, useSearchParams } from 'react-router-dom' +import { createRegister } from '~apis/register/createRegister' import AddOwnerAvatar from '~assets/add-dog-picture.svg' +import { ActionButton } from '~components/Button/ActionButton' import GenderSelectButton from '~components/GenderSelectButton' import { Input } from '~components/Input' +import Toast from '~components/Toast' +import { FAMILY_ROLE } from '~constants/familyRole' +import { useGeolocation } from '~hooks/useGeolocation' +import FamilyRoleChoiceModal from '~modals/PositionChoiceModal' import RegisterAvatarModal from '~modals/RegisterAvatarModal' import { useModalStore } from '~stores/modalStore' -import { ActionButton } from '~components/Button/ActionButton' -import FamilyRoleChoiceModal from '~modals/PositionChoiceModal' -import { useGeolocation } from '~hooks/useGeolocation' import { useOwnerProfileStore } from '~stores/ownerProfileStore' -import { validateOwnerProfile } from '~utils/validateOwnerProfile' -import RegisterDogPage from '~pages/RegisterPage/Dog' -import Toast from '~components/Toast' import { useToastStore } from '~stores/toastStore' -import { useNavigate, useSearchParams } from 'react-router-dom' -import { createRegister } from '~apis/register/createRegister' import { FamilyRole } from '~types/common' -import { useEffect } from 'react' -import { FAMILY_ROLE } from '~constants/familyRole' +import { validateOwnerProfile } from '~utils/validateOwnerProfile' +import * as S from './styles' export default function Register() { const { ownerProfile, setOwnerProfile } = useOwnerProfileStore()