This commit is contained in:
qiuchenfan 2025-11-14 17:34:57 +08:00
parent 2d92e439af
commit 724f1b0456
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ export const formatTemperature = (
): string => {
const value = unit === 'fahrenheit' ? (temp * 9) / 5 + 32 : temp;
const symbol = unit === 'fahrenheit' ? '°F' : '°C';
return ${Math.round(value)}${symbol};
return '${Math.round(value)}${symbol}';
};