Skip to content

Commit

Permalink
fix(chat): fix failed build (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikitabut committed Feb 14, 2024
1 parent b4293dd commit e4862ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/chat/src/hooks/useHandleFileFolders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const useHandleFileFolders = (
* @param folderId - ID of the folder to toggle.
*/
const handleToggleFolder = useCallback(
(folderId: string) => {
(folderId: string | undefined) => {
if (!folderId) {
setIsAllFilesOpened((value) => !value);
setOpenedFoldersIds([]);
Expand Down

0 comments on commit e4862ca

Please sign in to comment.