Skip to content

Commit

Permalink
chore: remove eslint-disabled-line
Browse files Browse the repository at this point in the history
  • Loading branch information
statefb committed Jul 25, 2024
1 parent af9a11a commit ab6976a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions frontend/src/components/InputChatContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,13 @@ const InputChatContent: React.FC<Props> = (props) => {
};
};
},
[pushBase64EncodedImage, totalFileSizeToSend, setTotalFileSizeToSend] // eslint-disable-line react-hooks/exhaustive-deps
[
pushBase64EncodedImage,
totalFileSizeToSend,
setTotalFileSizeToSend,
open,
t,
]
);

const handleAttachedFileRead = useCallback(
Expand Down Expand Up @@ -337,7 +343,7 @@ const InputChatContent: React.FC<Props> = (props) => {
};
reader.readAsArrayBuffer(file);
},
[pushTextFile, totalFileSizeToSend, setTotalFileSizeToSend] // eslint-disable-line react-hooks/exhaustive-deps
[pushTextFile, totalFileSizeToSend, setTotalFileSizeToSend, open, t]
);

useEffect(() => {
Expand Down

0 comments on commit ab6976a

Please sign in to comment.