mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: add missing web vitals
This commit is contained in:
1 parent
ddc5f375be
commit
67a1d1692c
1 file changed
+4
-1
@@ -3,7 +3,7 @@
|
||||
import { page } from '$app/stores';
|
||||
import { user } from '$lib/stores/user';
|
||||
import { redirectTo } from '$lib/stores/organization';
|
||||
import { onCLS, onFID, onLCP } from 'web-vitals';
|
||||
import { onCLS, onFID, onLCP, onFCP, onINP, onTTFB } from 'web-vitals';
|
||||
import { reportWebVitals } from '$lib/helpers/vitals';
|
||||
import { onMount } from 'svelte';
|
||||
import { base } from '$app/paths';
|
||||
@@ -29,6 +29,9 @@
|
||||
onCLS(reportWebVitals);
|
||||
onFID(reportWebVitals);
|
||||
onLCP(reportWebVitals);
|
||||
onFCP(reportWebVitals);
|
||||
onINP(reportWebVitals);
|
||||
onTTFB(reportWebVitals);
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user