diff --git a/packages/nextjs/app/dashboard/attestations/page.tsx b/packages/nextjs/app/dashboard/attestations/page.tsx index c29cd88..8535082 100644 --- a/packages/nextjs/app/dashboard/attestations/page.tsx +++ b/packages/nextjs/app/dashboard/attestations/page.tsx @@ -1,7 +1,7 @@ "use client"; import React, { useState, useEffect } from "react"; import Link from "next/link"; -import { fetchAllAttestations, fetchStats, shortAddress } from "~~/utils/utils"; +import { fetchAllAttestations, shortAddress } from "~~/utils/utils"; import Modal from "~~/components/Modal"; import CreateAttestationForm from "~~/components/forms/CreateAttestationForm"; const Dashboard = () => { @@ -19,9 +19,6 @@ const Dashboard = () => { const getAttestations = async () => { try { const attestationData = await fetchAllAttestations(); - const stats = await fetchStats(); - setAttestations(attestationData); - setStats(stats); } catch (error) { console.error("Error fetching attestations:", error); }