remove daterange from dependency array
This commit is contained in:
1 parent
9c793da0f0
commit
f57b9a0fa1
1 file changed
+1
-1
@@ -100,7 +100,7 @@ const DetailsPage = ({ isAdmin }) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
fetchCertificate();
|
fetchCertificate();
|
||||||
}, [authToken, monitorId, monitor, dateRange, uiTimezone, dateFormat]);
|
}, [authToken, monitorId, monitor, uiTimezone, dateFormat]);
|
||||||
|
|
||||||
const splitDuration = (duration) => {
|
const splitDuration = (duration) => {
|
||||||
const { time, format } = formatDurationSplit(duration);
|
const { time, format } = formatDurationSplit(duration);
|
||||||
|
|||||||
Reference in new issue
Block a user