+
+
+ {matches.length > 0 && (
+
+
Matches
+
+ {matches.map((match) => (
+ -
+
+ {match.source_ref ?? match.capture_id ?? "match"}
+
+ {match.author_name && (
+ — {match.author_name}
+ )}
+ {match.body_preview && (
+
{match.body_preview}
+ )}
+
+ ))}
+
+
+ )}
+
+ {submission.target_capture_id ? (
+
+ ) : (
+
+
Proposed
+
+ {submission.body_preview}
+
+
+ )}
+
+ {submission.review_note && (
+
+ Review note: {submission.review_note}
+
+ )}
+
+ {isPending && isAdmin && (
+
+
+
+
+
+
+
+ )}
+
+ {isPending && !isAdmin && (
+ Awaiting admin approval.
+ )}
+
+ );
+};
diff --git a/dashboard/src/main.tsx b/dashboard/src/main.tsx
index bef5202..53541ac 100644
--- a/dashboard/src/main.tsx
+++ b/dashboard/src/main.tsx
@@ -1,10 +1,10 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
-import App from './App.tsx'
+import Root from './Root.tsx'
createRoot(document.getElementById('root')!).render(