mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-01 09:31:58 +08:00
fix: step interval not getting updated on time range change (#4944)
This commit is contained in:
parent
33960b05fd
commit
5c1c09c790
@ -125,6 +125,13 @@ function GridCardGraph({
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
setRequestData((prev) => ({
|
||||||
|
...prev,
|
||||||
|
query: updatedQuery,
|
||||||
|
}));
|
||||||
|
}, [updatedQuery]);
|
||||||
|
|
||||||
const queryResponse = useGetQueryRange(
|
const queryResponse = useGetQueryRange(
|
||||||
{
|
{
|
||||||
...requestData,
|
...requestData,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user