diff --git a/app/notices/[notice_id]/page.tsx b/app/notices/[notice_id]/page.tsx index d233e6f2..4f7f99fc 100644 --- a/app/notices/[notice_id]/page.tsx +++ b/app/notices/[notice_id]/page.tsx @@ -14,7 +14,7 @@ export default async function Notice({ params, searchParams, }: { - params: { project_id: string; notice_id: string }; + params: { notice_id: string }; searchParams: Record; }) { const notice = await prisma.notice.findFirst({ diff --git a/components/occurrence/Backtrace.tsx b/components/occurrence/Backtrace.tsx index 63b85e6f..fec46d06 100644 --- a/components/occurrence/Backtrace.tsx +++ b/components/occurrence/Backtrace.tsx @@ -2,7 +2,7 @@ import classNames from '@/lib/classNames'; import { BacktraceItem } from '@/types/airbroke'; import { Occurrence, Prisma, Project } from '@prisma/client'; import LinkedBacktraceLine from './BacktraceLine'; -import BookmarkButton from './BookmarkButton'; +// import BookmarkButton from './BookmarkButton'; import ClipboardButton from './ClipboardButton'; function isBacktraceItem(item: any): item is BacktraceItem { @@ -13,9 +13,9 @@ export default function Backtrace({ occurrence, project }: { occurrence: Occurre return (
-
+
- + {/* */}
{occurrence.backtrace && typeof occurrence.backtrace === 'object' && Array.isArray(occurrence.backtrace) && ( diff --git a/components/occurrence/ClipboardButton.tsx b/components/occurrence/ClipboardButton.tsx index e8a765ee..42762f93 100644 --- a/components/occurrence/ClipboardButton.tsx +++ b/components/occurrence/ClipboardButton.tsx @@ -20,7 +20,7 @@ export default function ClipboardButton({ json }: { json: Prisma.JsonValue }) { return (