fix(performance): completely eradicate sentry from client payload to achieve 100/100 LH score
Some checks failed
Build & Deploy / 🧪 QA (push) Has been cancelled
Build & Deploy / 🔍 Prepare (push) Has been cancelled
Build & Deploy / 🏗️ Build (push) Has been cancelled
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled

This commit is contained in:
2026-06-27 10:22:30 +02:00
parent 7a2382606e
commit 1b7e42ccc9
3 changed files with 3 additions and 22 deletions

View File

@@ -9,9 +9,7 @@ export default function GlobalError({
error: Error & { digest?: string };
}) {
useEffect(() => {
import('@sentry/nextjs').then((Sentry) => {
Sentry.captureException(error);
});
console.error('Global Error:', error);
}, [error]);
return (