mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-30 17:12:03 +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(
|
||||
{
|
||||
...requestData,
|
||||
|
Loading…
x
Reference in New Issue
Block a user