Skip to content

fix: remove unused sessionId prop from PanePreview and ApprovalBanner (#647)#937

Merged
OneStepAt4time merged 1 commit intomainfrom
fix/remove-unused-sessionid-props-647
Apr 3, 2026
Merged

fix: remove unused sessionId prop from PanePreview and ApprovalBanner (#647)#937
OneStepAt4time merged 1 commit intomainfrom
fix/remove-unused-sessionid-props-647

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Summary

Removes unused sessionId prop from PanePreview and ApprovalBanner components.

Changes

  • PanePreview.tsx: Removed sessionId: string from PanePreviewProps
  • ApprovalBanner.tsx: Removed sessionId: string from ApprovalBannerProps
  • SessionDetailPage.tsx: Removed sessionId={s.id} from ApprovalBanner usage

Test Plan

  • tsc --noEmit ✅
  • npm run build ✅
  • 2173 tests ✅

Developed with: v2.6.3
Tested with: v2.6.3

…#647)

Both components declared sessionId in props but never used it.
Removed from interfaces and from the only caller (SessionDetailPage).

Quality gate: tsc ✅ build ✅ 2173 tests ✅
Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean removal of unused props. Approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant