Skip to content

Commit

Permalink
fix: fixed sentry errors on 404 pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Nov 29, 2023
1 parent 21e27a6 commit bff3ba2
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 810 deletions.
2 changes: 2 additions & 0 deletions app/[locale]/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { useTranslations } from 'next-intl';
import type { FC } from 'react';

Expand Down
2 changes: 0 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ const nextConfig = {
],
// Removes the warning regarding the WebPack Build Worker
webpackBuildWorker: false,
// Sentry Profiling Module should be treated as an external symbol
serverComponentsExternalPackages: ['@sentry/profiling-node'],
},
};

Expand Down
Loading

0 comments on commit bff3ba2

Please sign in to comment.