fix: fixed the initial graph load issue for dashboard (#2938)

This commit is contained in:
Rajat Dabade 2023-06-20 09:07:19 +05:30 committed by GitHub
parent 96b94a619e
commit 0d82a93f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ function GridCardGraph({
const { ref: graphRef, inView: isGraphVisible } = useInView({
threshold: 0,
triggerOnce: true,
initialInView: true,
initialInView: false,
});
const { notifications } = useNotifications();