"use client"; import React, { useState } from "react"; import dynamic from "next/dynamic"; const ApexCharts = dynamic(() => import("react-apexcharts"), { ssr: false }); import { useTranslation } from "react-i18next"; const ApplicationCompletionChart: React.FC = () => { const { t } = useTranslation(); const [tab, setTab] = useState(t("Store Management")); const percent = 0; const options = { chart: { type: "donut" as const }, labels: [], colors: ["#42A5F5", "#e0e0e0"], dataLabels: { enabled: true, formatter: () => `${percent}%`, style: { fontSize: "32px", fontWeight: 600, color: "#1976d2" }, }, legend: { show: false }, plotOptions: { pie: { donut: { size: "70%", labels: { show: false, }, }, }, }, stroke: { show: true, width: 2, colors: ["#fff"] }, }; return (