mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 03:59:04 +08:00
fix: resolved violating issue on change of layout API call (#2164)
* fix: Removed Strict mode to stop render twice * fix: resolved issue on change of layout API call
This commit is contained in:
parent
a2a8a32d1c
commit
48659a2957
@ -43,6 +43,7 @@ function GridCardGraph({
|
|||||||
const { ref: graphRef, inView: isGraphVisible } = useInView({
|
const { ref: graphRef, inView: isGraphVisible } = useInView({
|
||||||
threshold: 0,
|
threshold: 0,
|
||||||
triggerOnce: true,
|
triggerOnce: true,
|
||||||
|
initialInView: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const [errorMessage, setErrorMessage] = useState<string | undefined>('');
|
const [errorMessage, setErrorMessage] = useState<string | undefined>('');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user