on main help sign in
fix: splash page view return type
840dc56Ayman Bagabas
internal/tui/components/chat/splash/splash.go+2−2
@@ -60,9 +60,9 @@ func (s *splashCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
60}
60}
61
61
62// View implements SplashPage.
62// View implements SplashPage.
63−func (s *splashCmp) View() tea.View {
63+func (s *splashCmp) View() string {
64 content := lipgloss.JoinVertical(lipgloss.Left, s.logoRendered)
64 content := lipgloss.JoinVertical(lipgloss.Left, s.logoRendered)
65− return tea.NewView(content)
65+ return content
66}
66}
67
67
68func (m *splashCmp) logoBlock() string {
68func (m *splashCmp) logoBlock() string {