diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-18 21:24:35 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-21 13:42:29 +0200 |
| commit | 72afeb9f54cee8e248093a52ac0779441c79aea3 (patch) | |
| tree | 70f5966bcf2cb8a6186780ea5b22a3515bc8ee22 /internal/tui/page | |
| parent | 333ea6ec4b2abfc2c1a9c3f6b0918ca5d296347f (diff) | |
| download | opencode-72afeb9f54cee8e248093a52ac0779441c79aea3.tar.gz opencode-72afeb9f54cee8e248093a52ac0779441c79aea3.zip | |
small fixes
Diffstat (limited to 'internal/tui/page')
| -rw-r--r-- | internal/tui/page/chat.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/tui/page/chat.go b/internal/tui/page/chat.go index b99dc3dfe..ef826e9a3 100644 --- a/internal/tui/page/chat.go +++ b/internal/tui/page/chat.go @@ -43,13 +43,6 @@ func (p *chatPage) Init() tea.Cmd { cmds := []tea.Cmd{ p.layout.Init(), } - - sessions, _ := p.app.Sessions.List(context.Background()) - if len(sessions) > 0 { - p.session = sessions[0] - cmd := p.setSidebar() - cmds = append(cmds, util.CmdHandler(chat.SessionSelectedMsg(p.session)), cmd) - } return tea.Batch(cmds...) } |
