diff options
Diffstat (limited to 'pkg/ui/views/play_content.go')
-rw-r--r-- | pkg/ui/views/play_content.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ui/views/play_content.go b/pkg/ui/views/play_content.go index a128800..d6a327f 100644 --- a/pkg/ui/views/play_content.go +++ b/pkg/ui/views/play_content.go @@ -29,7 +29,7 @@ func (m PlayModel) renderPageContent(base lipgloss.Style) string { return base.Render(chessBoard) } else { start, end := m.paginator.GetSliceBounds(len(m.games)) - gamesStrings := formatGamesForPage(m.games[start:end], altCodeStyle) + gamesStrings := formatGamesForPage(m.userID, m.games[start:end], altCodeStyle) pageInfo := m.paginator.View() return base.Render(lipgloss.JoinVertical(lipgloss.Center, strings.Join(gamesStrings, "\n"), pageInfo)) } |