File tree Expand file tree Collapse file tree 5 files changed +5
-341
lines changed
app/(admin)/admin/dashboard Expand file tree Collapse file tree 5 files changed +5
-341
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import {
1818 StatsSkeleton ,
1919 TableSkeleton ,
2020} from "./loading-skeletons" ;
21- import { RealTimeMetrics } from "./real-time-metrics" ;
2221import { TopContributors } from "./top-contributors" ;
2322
2423export async function AsyncDashboardStats ( ) {
@@ -61,11 +60,6 @@ export async function AsyncActivityFeed() {
6160 return < ActivityFeed data = { latestActivities } /> ;
6261}
6362
64- export async function AsyncRealTimeMetrics ( ) {
65- const stats = await getDashboardStats ( ) ;
66- return < RealTimeMetrics data = { stats } /> ;
67- }
68-
6963export async function AsyncInstitutionTable ( ) {
7064 const latestActivities = await getLatestActivities ( ) ;
7165 return < InstitutionTable data = { latestActivities } /> ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import { Suspense } from "react" ;
12import { AppSidebar } from "@/components/app-sidebar" ;
23import { SiteHeader } from "@/components/site-header" ;
34import { SidebarInset , SidebarProvider } from "@/components/ui/sidebar" ;
4- import { Suspense } from "react" ;
55import {
66 AsyncActivityFeed ,
77 AsyncDashboardCharts ,
88 AsyncDashboardMap ,
99 AsyncDashboardStats ,
1010 AsyncInstitutionTable ,
11- AsyncRealTimeMetrics ,
1211 AsyncTopContributors ,
1312} from "./components/async-components" ;
1413import {
@@ -69,9 +68,6 @@ export default function DashboardPage() {
6968 >
7069 < AsyncActivityFeed />
7170 </ Suspense >
72- < Suspense fallback = { < StatsSkeleton /> } >
73- < AsyncRealTimeMetrics />
74- </ Suspense >
7571 </ div >
7672 </ div >
7773 </ div >
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ export function NavMain({
159159 >
160160 < Link
161161 href = "/contribute"
162- className = "flex items-center gap-2"
162+ className = "flex items-center gap-2 text-primary-foreground hover:text-primary-foreground "
163163 target = "_blank"
164164 rel = "noopener noreferrer"
165165 >
You can’t perform that action at this time.
0 commit comments