weewoo
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Link from "next/link";
|
||||
import { ArrowRight, Shield, LineChart, Zap } from "lucide-react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { fetchPlatformStats } from "@/lib/stats-service";
|
||||
import { getPlatformStatsServer } from "@/lib/api";
|
||||
import { HomeNavbar } from "@/components/home-navbar";
|
||||
import { Suspense } from "react";
|
||||
import { AnimatedStatsSection } from "@/components/animated-stats-section";
|
||||
@@ -31,7 +31,7 @@ function formatCurrencyValue(amount: number): string {
|
||||
// This is a server component
|
||||
export default async function Home() {
|
||||
try {
|
||||
const stats = await fetchPlatformStats();
|
||||
const stats = await getPlatformStatsServer();
|
||||
|
||||
return (
|
||||
<div className="flex flex-col min-h-screen bg-black text-white">
|
||||
|
||||
Reference in New Issue
Block a user