Correcting case in docs (#27739)

* Correcting case in documentation

* Correcting case in docs
This commit is contained in:
Amal 2020-09-24 01:50:22 +05:30 committed by GitHub
parent 9c624b82c4
commit ed185ea0f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ Now the location data is saved in the dashboard json but we will have to load it
## Loading custom data for snapshots
The example below shows a function that loads the custom data. The data source for the custom data (an external api in this case) is not available in snapshot mode so a guard check is made to see if there is any snapshot data available first. If there is, then the snapshot data is used instead of trying to load the data from the external api.
The example below shows a function that loads the custom data. The data source for the custom data (an external API in this case) is not available in snapshot mode so a guard check is made to see if there is any snapshot data available first. If there is, then the snapshot data is used instead of trying to load the data from the external API.
```javascript
loadLocationDataFromFile(reload) {