I have accessed others parameters from an API using e.g:
dayTemp={`${Math.floor(weather?.main?.temp_max - 273)}°C`}
However when I'm trying to access rain:
rain={`${weather?.rain?.1h}`}
I get an error:
An identifier or keyword cannot immediately follow a numeric literal.
How can I access weather.rain.1h?