sec
This commit is contained in:
parent
2d92e439af
commit
724f1b0456
|
|
@ -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}';
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue