Skip to content

Commit

Permalink
pkg/monitor: removed duplicate max() function (now built-in)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvisonneau committed Sep 27, 2024
1 parent 7ca78a9 commit 99d7031
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/monitor/ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,6 @@ var (
docStyle = lipgloss.NewStyle()
)

func max(a, b int) int {
if a > b {
return a
}

return b
}

type model struct {
version string
client *client.Client
Expand Down

0 comments on commit 99d7031

Please sign in to comment.