diff --git a/src/pages/OnboardingPage/components/Step/StepService/StepService.tsx b/src/pages/OnboardingPage/components/Step/StepService/StepService.tsx index 7234dfa8..0c611537 100644 --- a/src/pages/OnboardingPage/components/Step/StepService/StepService.tsx +++ b/src/pages/OnboardingPage/components/Step/StepService/StepService.tsx @@ -11,25 +11,25 @@ interface StepServiceProps { const StepService = ({ setStep, FIELDS }: StepServiceProps) => { const [activeTab, setActiveTab] = useState('비즈니스'); - const [input, setInput] = useState(''); + const [inputURL, setInputURL] = useState(''); const [selectedService, setSelectedService] = useState([]); const handleAddSelectedService = (service: string) => { setSelectedService((prev) => [...prev, service]); - setInput(''); + setInputURL(''); }; const handleRemoveSelectedService = (service: string) => { setSelectedService((prev) => prev.filter((prevService) => prevService !== service)); }; - const handleChangeInput = (e: ChangeEvent) => { - setInput(e.target.value); + const handleChangeInputURL = (e: ChangeEvent) => { + setInputURL(e.target.value); }; const handleKeyDown = (e: KeyboardEvent) => { if (e.key === 'Enter' && !e.nativeEvent.isComposing) { - handleAddSelectedService(input); + handleAddSelectedService(inputURL); } }; @@ -51,8 +51,8 @@ const StepService = ({ setStep, FIELDS }: StepServiceProps) => {
-

작업 시 사용할 서비스들을 입력해주세요

-

+

작업 시 사용할 서비스들을 입력해주세요

+

필요한 서비스에만 들어가고, 나의 온전한 집중 시간을 기록할 수 있어요. 만든 모립세트는 언제든 편집할 수 있어요.

@@ -76,17 +76,17 @@ const StepService = ({ setStep, FIELDS }: StepServiceProps) => {