Skip to content

Commit

Permalink
Update useGetFile.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandostaler authored Sep 9, 2024
1 parent 4e0b863 commit cbadf6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/AppWriteAPI/useGetFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ const useGetFile = (isLoginProcess: boolean) => {
return reLogin("Response not ok");
}
return res.json();
}).catch(reLogin);
}).catch((reason) => { reLogin(reason) };);

Check failure on line 27 in src/hooks/AppWriteAPI/useGetFile.ts

View workflow job for this annotation

GitHub Actions / build

')' expected.

Check failure on line 27 in src/hooks/AppWriteAPI/useGetFile.ts

View workflow job for this annotation

GitHub Actions / build

Declaration or statement expected.
}
return getFile;
};

export default useGetFile;
export default useGetFile;

0 comments on commit cbadf6f

Please sign in to comment.