fix: update project type display in TeamLeadsDashboard to use translation keys
This commit is contained in:
@@ -238,7 +238,7 @@ export default function TeamLeadsDashboard() {
|
||||
{summaryData?.byType && Object.entries(summaryData.byType).map(([type, data]) => (
|
||||
<div key={type} className="bg-white dark:bg-gray-800 p-6 rounded-lg border border-gray-200 dark:border-gray-700">
|
||||
<h3 className="text-lg font-medium text-gray-900 dark:text-white mb-4 capitalize text-center">
|
||||
{type.replace('+', ' + ')}
|
||||
{t(`projectType.${type}`)}
|
||||
</h3>
|
||||
|
||||
{/* Mini pie chart */}
|
||||
|
||||
Reference in New Issue
Block a user