@@ -17,19 +17,19 @@ import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
1717const getEntityIcon = ( type : string ) => {
1818 switch ( type ) {
1919 case "TECH" :
20- return < Hash className = "size -4" />
20+ return < Hash className = "h-4 w -4" />
2121 case "ORG" :
22- return < Building className = "size -4" />
22+ return < Building className = "h-4 w -4" />
2323 case "PERSON" :
24- return < User className = "size -4" />
24+ return < User className = "h-4 w -4" />
2525 case "LOCATION" :
26- return < MapPin className = "size -4" />
26+ return < MapPin className = "h-4 w -4" />
2727 case "CONCEPT" :
28- return < Lightbulb className = "size -4" />
28+ return < Lightbulb className = "h-4 w -4" />
2929 case "EVENT" :
30- return < Calendar className = "size -4" />
30+ return < Calendar className = "h-4 w -4" />
3131 default :
32- return < TrendingUp className = "size -4" />
32+ return < TrendingUp className = "h-4 w -4" />
3333 }
3434}
3535
@@ -41,7 +41,7 @@ async function TopicStats() {
4141 < Card >
4242 < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
4343 < CardTitle className = "text-sm font-medium" > Total Articles</ CardTitle >
44- < TrendingUp className = "size -4 text-muted-foreground" />
44+ < TrendingUp className = "h-4 w -4 text-muted-foreground" />
4545 </ CardHeader >
4646 < CardContent >
4747 < div className = "text-2xl font-bold" > { stats . totalArticles } </ div >
@@ -53,7 +53,7 @@ async function TopicStats() {
5353 < CardTitle className = "text-sm font-medium" >
5454 Articles with Topics
5555 </ CardTitle >
56- < Hash className = "size -4 text-muted-foreground" />
56+ < Hash className = "h-4 w -4 text-muted-foreground" />
5757 </ CardHeader >
5858 < CardContent >
5959 < div className = "text-2xl font-bold" > { stats . articlesWithTopics } </ div >
@@ -66,7 +66,7 @@ async function TopicStats() {
6666 < Card >
6767 < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
6868 < CardTitle className = "text-sm font-medium" > Total Topics</ CardTitle >
69- < Lightbulb className = "size -4 text-muted-foreground" />
69+ < Lightbulb className = "h-4 w -4 text-muted-foreground" />
7070 </ CardHeader >
7171 < CardContent >
7272 < div className = "text-2xl font-bold" > { stats . totalTopics } </ div >
@@ -76,7 +76,7 @@ async function TopicStats() {
7676 < Card >
7777 < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
7878 < CardTitle className = "text-sm font-medium" > Trending Topics</ CardTitle >
79- < TrendingUp className = "size -4 text-muted-foreground" />
79+ < TrendingUp className = "h-4 w -4 text-muted-foreground" />
8080 </ CardHeader >
8181 < CardContent >
8282 < div className = "text-2xl font-bold" > { stats . trendingTopics } </ div >
@@ -171,8 +171,8 @@ export default function TopicsAdminPage() {
171171 className = "flex items-center justify-between rounded-lg border p-3"
172172 >
173173 < div className = "flex items-center gap-3" >
174- < div className = "size -4 animate-pulse rounded bg-muted" > </ div >
175- < div className = "size -4 animate-pulse rounded bg-muted" > </ div >
174+ < div className = "h-4 w -4 animate-pulse rounded bg-muted" > </ div >
175+ < div className = "h-4 w -4 animate-pulse rounded bg-muted" > </ div >
176176 < div >
177177 < div className = "mb-2 h-4 w-32 animate-pulse rounded bg-muted" > </ div >
178178 < div className = "h-3 w-24 animate-pulse rounded bg-muted" > </ div >
0 commit comments