[PR #4163] Refactor/redundant toast comp #10887

Closed
opened 2026-02-16 18:15:38 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4163

State: closed
Merged: Yes


  • Remove redundant toast component from TopNav (originally added in #4154)
    - Fix import path related issue for build script

Changes

Remove redundant toast component

The toast component in packages/opencode/src/cli/cmd/tui/app.tsx was unnecessary since both Home and Session components already implemented it.

### Fix build script import path
The file exists and works at runtime, but TypeScript can't verify it during type checking because it's not in the package's exported types. Added a @ts-expect-error directive to suppress the TypeScript error.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4163 **State:** closed **Merged:** Yes --- - Remove redundant toast component from TopNav (originally added in #4154) ~~- Fix import path related issue for build script~~ ## Changes ### Remove redundant toast component The toast component in `packages/opencode/src/cli/cmd/tui/app.tsx` was unnecessary since both Home and Session components already implemented it. ~~### Fix build script import path~~ ~~The file exists and works at runtime, but TypeScript can't verify it during type checking because it's not in the package's exported types. Added a @ts-expect-error directive to suppress the TypeScript error.~~
yindo added the pull-request label 2026-02-16 18:15:38 -05:00
yindo closed this issue 2026-02-16 18:15:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10887