(Fix): Fixed supervisor dashboard loading failing due improper type
This commit is contained in:
@@ -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>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user