auto-retry for some forecast data
This commit is contained in:
parent
76fd93e6e1
commit
5dd8f4bd62
16 changed files with 101 additions and 36 deletions
|
|
@ -43,7 +43,7 @@ const incrementInterval = () => {
|
|||
|
||||
const drawScreen = async () => {
|
||||
// get the conditions
|
||||
const data = await getCurrentWeather();
|
||||
const data = await getCurrentWeather(() => this.stillWaiting());
|
||||
|
||||
// nothing to do if there's no data yet
|
||||
if (!data) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue