mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
Upgrades to Live and API Caching
This commit is contained in:
@@ -216,8 +216,7 @@ func (m StandingsModel) View() string {
|
||||
return fmt.Sprintf("\n %s Loading %d championship standings...", m.spinner.View(), m.year)
|
||||
}
|
||||
if m.err != nil {
|
||||
return styleError.Render(fmt.Sprintf("\n Error: %v\n\n", m.err)) +
|
||||
helpBar("r retry", "q quit")
|
||||
return renderErrorView(m.err)
|
||||
}
|
||||
|
||||
var sb strings.Builder
|
||||
|
||||
Reference in New Issue
Block a user