fix: step interval not getting updated on time range change (#4944)

This commit is contained in:
Vikrant Gupta 2024-05-01 12:47:33 +05:30 committed by GitHub
parent 33960b05fd
commit 5c1c09c790
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -125,6 +125,13 @@ function GridCardGraph({
};
});
useEffect(() => {
setRequestData((prev) => ({
...prev,
query: updatedQuery,
}));
}, [updatedQuery]);
const queryResponse = useGetQueryRange(
{
...requestData,