Skip to content

Commit

Permalink
fix: type error 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
eonseok-jeon committed Nov 28, 2024
1 parent e9513e5 commit dca389b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/org/OrgAdmin/AboutSection/Curriculum/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from 'react';
import { useFormContext } from 'react-hook-form';

import { PART_LIST, VALIDATION_CHECK } from '@/utils/org';
import { PART_KO, PART_LIST, VALIDATION_CHECK } from '@/utils/org';

import PartCategory from '../../PartCategory';
import { StInput, StTitle, StWrapper } from '../style';
Expand All @@ -21,9 +21,9 @@ const Curriculum = () => {
formState: { errors },
} = useFormContext();

const [selectedPart, setSelectedPart] = useState('기획');
const [selectedPart, setSelectedPart] = useState<PART_KO>('기획');

const handleSetSelectedPart = (value: string) => {
const handleSetSelectedPart = (value: PART_KO) => {
setSelectedPart(value);
};

Expand Down

0 comments on commit dca389b

Please sign in to comment.