(Fix): Fixed supervisor dashboard loading failing due improper type

This commit is contained in:
2025-11-29 09:54:28 +00:00
parent 8ac2eb1944
commit 916ee19677

View File

@@ -715,7 +715,7 @@ export const DashboardPage: React.FC = () => {
<td className="py-3 px-4 text-sm text-gray-500">-</td> <td className="py-3 px-4 text-sm text-gray-500">-</td>
<td className="py-3 px-4"> <td className="py-3 px-4">
{rate ? ( {rate ? (
<span className="font-medium text-green-700">{rate.toFixed(2)}</span> <span className="font-medium text-green-700">{Number(rate).toFixed(2)}</span>
) : ( ) : (
<span className="text-gray-400">Not set</span> <span className="text-gray-400">Not set</span>
)} )}