File tree Expand file tree Collapse file tree 5 files changed +403
-42
lines changed
Expand file tree Collapse file tree 5 files changed +403
-42
lines changed Original file line number Diff line number Diff line change 77 FlagIcon ,
88 RssIcon ,
99 ShieldExclamationIcon ,
10- NewspaperIcon ,
1110 TagIcon ,
1211} from "@heroicons/react/24/outline" ;
1312import { api } from "@/server/trpc/react" ;
@@ -100,13 +99,6 @@ const AdminDashboard = () => {
10099 color = "green"
101100 isLoading = { isLoading }
102101 />
103- < StatCard
104- title = "Aggregated Articles"
105- value = { stats ?. aggregatedArticles }
106- icon = { NewspaperIcon }
107- color = "purple"
108- isLoading = { isLoading }
109- />
110102 < StatCard
111103 title = "Active Feed Sources"
112104 value = { stats ?. activeFeedSources }
@@ -115,6 +107,14 @@ const AdminDashboard = () => {
115107 href = "/admin/sources"
116108 isLoading = { isLoading }
117109 />
110+ < StatCard
111+ title = "Total Reports"
112+ value = { reportCounts ?. total }
113+ icon = { FlagIcon }
114+ color = "purple"
115+ href = "/admin/moderation"
116+ isLoading = { isLoading }
117+ />
118118 </ div >
119119
120120 { /* Moderation Stats */ }
You can’t perform that action at this time.
0 commit comments