mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 00:38:59 +08:00
fix: null value handle on create dashboard (#2320)
* fix: Removed Strict mode to stop render twice * fix: null value handle on create dashboard
This commit is contained in:
parent
23490ca7f8
commit
e183cace75
@ -67,7 +67,7 @@ function GridCardGraph({
|
||||
|
||||
const queryResponse = useQuery(
|
||||
[
|
||||
`GetMetricsQueryRange-${widget.timePreferance}-${globalSelectedInterval}-${widget.id}`,
|
||||
`GetMetricsQueryRange-${widget?.timePreferance}-${globalSelectedInterval}-${widget.id}`,
|
||||
{
|
||||
widget,
|
||||
maxTime,
|
||||
@ -78,7 +78,7 @@ function GridCardGraph({
|
||||
],
|
||||
() =>
|
||||
GetMetricQueryRange({
|
||||
selectedTime: widget.timePreferance,
|
||||
selectedTime: widget?.timePreferance,
|
||||
graphType: widget.panelTypes,
|
||||
query: widget.query,
|
||||
globalSelectedInterval,
|
||||
|
Loading…
x
Reference in New Issue
Block a user