diff --git a/src/pages/audit/auditEdit/container/auditEditTitleSection.tsx b/src/pages/audit/auditEdit/container/auditEditTitleSection.tsx index 44d037f8..d1da06ef 100644 --- a/src/pages/audit/auditEdit/container/auditEditTitleSection.tsx +++ b/src/pages/audit/auditEdit/container/auditEditTitleSection.tsx @@ -1,5 +1,4 @@ import { useState } from 'react'; -import useTruncateText from '@/hooks/useTruncateText'; import { FilterDropDown } from '@/components/FilterDropDown/FilterDropDown'; interface AuditEditTitleSectionProps { @@ -20,8 +19,6 @@ export function AuditEditTitleSection({ const [title, setTitle] = useState(initialTitle); const [category, setCategory] = useState(initialCategory); - const truncatedTitle = useTruncateText(title, 50); - const handleTitleChange = (event: React.ChangeEvent) => { const newTitle = event.target.value; if (newTitle.length <= 50) { @@ -41,7 +38,7 @@ export function AuditEditTitleSection({