diff --git a/src/components/CreateStaff/CreateStaff.tsx b/src/components/CreateStaff/CreateStaff.tsx index 2de9aa3..17b272e 100644 --- a/src/components/CreateStaff/CreateStaff.tsx +++ b/src/components/CreateStaff/CreateStaff.tsx @@ -60,10 +60,6 @@ const CreateStaff: React.FC = ({ combos }) => { const errors = formProps.formState.errors; - const checkDuplicates = (str1: string, str2: string, str3: string) => { - return str1 === str2 || str1 === str3 || str2 === str3; - } - const onSubmit = useCallback>( async (data) => { try {