Commit 496e0ee
committed
fix: render initial UI on first load without REST or mesh connection
The rerender() call was only triggered by state changes. When
refreshState() returns early (standalone PWA) and no mesh connection
is made, the state never changes so the UI never renders. Call
rerender() once at boot to paint the initial state.1 parent 86dd3ef commit 496e0ee
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
| |||
0 commit comments