Rocky_Mountain_Vending/.pnpm-store/v10/files/c3/daecc025c10ababf70cf9058ec54c63fbbb426631c09c396901589b15ce14f272629ac9d8568e3d6a8df63aad1826c9674dbeb8d88cd01e68d2dc450d5f396
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

16 lines
No EOL
491 B
Text

import { useEffect } from 'react';
import { onLCP, onFID, onCLS, onINP, onFCP, onTTFB } from 'next/dist/compiled/web-vitals';
export function useReportWebVitals(reportWebVitalsFn) {
useEffect(()=>{
onCLS(reportWebVitalsFn);
onFID(reportWebVitalsFn);
onLCP(reportWebVitalsFn);
onINP(reportWebVitalsFn);
onFCP(reportWebVitalsFn);
onTTFB(reportWebVitalsFn);
}, [
reportWebVitalsFn
]);
}
//# sourceMappingURL=web-vitals.js.map