Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit c5d584e

Browse files
committed
fix bug when data was being loaded repeatetly
when error occurred
1 parent d1c9cad commit c5d584e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • admin-ui/src/component/recurring-reservations

admin-ui/src/component/recurring-reservations/Review.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ function Review({ applicationRound }: IProps): JSX.Element | null {
255255
if (typeof applicationRound?.id === "number") {
256256
fetchApplications(applicationRound);
257257
}
258-
}, [applicationRound, notifyError, t]);
258+
// eslint-disable-next-line react-hooks/exhaustive-deps
259+
}, [applicationRound]);
259260

260261
if (isLoading) {
261262
return <Loader />;

0 commit comments

Comments
 (0)