Skip to content

Commit

Permalink
Update src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Vinh Hoang <[email protected]>
  • Loading branch information
wildan-m and hoangzinh authored Nov 26, 2024
1 parent 5c51ae8 commit ed1b95d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function ReportActionCompose({
* Shows red borders and prevents the comment from being sent
*/
const {hasExceededMaxCommentLength, validateCommentMaxLength} = useHandleExceedMaxCommentLength();
const {hasExceededMaxTitleLength, validateTitleMaxLength} = useHandleExceedMaxTaskTitleLength();
const {hasExceededMaxTaskTitleLength, validateTaskTitleMaxLength} = useHandleExceedMaxTaskTitleLength();

Check failure on line 176 in src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

'hasExceededMaxTaskTitleLength' is assigned a value but never used

Check failure on line 176 in src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

'validateTaskTitleMaxLength' is assigned a value but never used

Check failure on line 176 in src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx

View workflow job for this annotation

GitHub Actions / ESLint check

'hasExceededMaxTaskTitleLength' is assigned a value but never used

Check failure on line 176 in src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx

View workflow job for this annotation

GitHub Actions / ESLint check

'validateTaskTitleMaxLength' is assigned a value but never used

Check failure on line 176 in src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx

View workflow job for this annotation

GitHub Actions / typecheck

Property 'hasExceededMaxTaskTitleLength' does not exist on type '{ hasExceededMaxTitleLength: boolean; validateTitleMaxLength: DebouncedFuncLeading<(value: string) => boolean>; }'.

Check failure on line 176 in src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx

View workflow job for this annotation

GitHub Actions / typecheck

Property 'validateTaskTitleMaxLength' does not exist on type '{ hasExceededMaxTitleLength: boolean; validateTitleMaxLength: DebouncedFuncLeading<(value: string) => boolean>; }'.
const [exceededMaxLength, setExceededMaxLength] = useState<number | null>(null);

const suggestionsRef = useRef<SuggestionsRef>(null);
Expand Down

0 comments on commit ed1b95d

Please sign in to comment.