"use client" import React from "react"; import dynamic from "next/dynamic"; import { useTranslation } from "node_modules/react-i18next"; const ApexCharts = dynamic(() => import("react-apexcharts"), { ssr: false }); const PendingStorageChart: React.FC = () => { const { t } = useTranslation(); const percent = 93.75; const options = { chart: { type: "donut" as const }, labels: [t("Pending storage"), t("Total storage")], colors: ["#1976d2", "#e0e0e0"], dataLabels: { enabled: false }, legend: { position: "bottom" as const }, plotOptions: { pie: { donut: { size: "70%", labels: { show: true, name: { show: false }, value: { show: true, fontSize: "32px", fontWeight: 600, color: "#1976d2", formatter: () => `${percent}%` }, total: { show: false } } } } }, stroke: { show: true, width: 2, colors: ['#fff'] } }; return (