From 840dc56c42a774c1767f51f2e57c8278245cd72b Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 2 Jul 2025 11:19:12 -0400 Subject: [PATCH] fix: splash page view return type --- internal/tui/components/chat/splash/splash.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/tui/components/chat/splash/splash.go b/internal/tui/components/chat/splash/splash.go index 75718b25471088607a66a19c7b8a56d36bd5d2d1..f3a4a672305e655754b0c45d82ffaa003d10e425 100644 --- a/internal/tui/components/chat/splash/splash.go +++ b/internal/tui/components/chat/splash/splash.go @@ -60,9 +60,9 @@ func (s *splashCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } // View implements SplashPage. -func (s *splashCmp) View() tea.View { +func (s *splashCmp) View() string { content := lipgloss.JoinVertical(lipgloss.Left, s.logoRendered) - return tea.NewView(content) + return content } func (m *splashCmp) logoBlock() string {