'Make An identifier or keyword follow a numeric identifier react - rapid api

I try to use the coinranking api from rapid api but i get a error when a i went to display the 24h volume of a cryptocurrency.

the data is display like this:

  Object
    data:
     coin:
      24hVolume: "21504479215"
     allTimeHigh: {price: '68763.41083248306', timestamp: 1636502400}

but when i type cryptoDetails?.coin.24hVolume

I got a error that say: An identifier or keyword does not follow a numeric identifier.

How i can override this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source