Closed siddhantac closed 4 months ago
When refreshing the loading screen doesn't show up.
reason: the setModelLoading() function is called in the same tea.Batch as the actual commands.
setModelLoading()
solution: return only modelLoading so that loader is displayed, then return a second tea.Cmd with the actual commands
modelLoading
When refreshing the loading screen doesn't show up.
reason: the
setModelLoading()
function is called in the same tea.Batch as the actual commands.solution: return only
modelLoading
so that loader is displayed, then return a second tea.Cmd with the actual commands