Skip to content

refactor(web): mark Props of header/ components as read-only#36487

Open
AlsoTheZv3n wants to merge 1 commit into
langgenius:mainfrom
AlsoTheZv3n:refactor/readonly-component-props
Open

refactor(web): mark Props of header/ components as read-only#36487
AlsoTheZv3n wants to merge 1 commit into
langgenius:mainfrom
AlsoTheZv3n:refactor/readonly-component-props

Conversation

@AlsoTheZv3n
Copy link
Copy Markdown
Contributor

Relates to #25219.

Adds the readonly modifier to each property of the Props types in four header components:

  • app-back (IAppBackProps)
  • indicator (IndicatorProps)
  • plan-badge (PlanBadgeProps + PlanBadgeShell inline props)
  • account-about (IAccountSettingProps)

Pattern matches the merged example PR #25220 (@eslint-react/prefer-read-only-props).

Relates to langgenius#25219. Adds the `readonly` modifier to each property of
the Props types in four header components: app-back, indicator,
plan-badge, account-about. Matches the pattern from the merged example
PR langgenius#25220 (`@eslint-react/prefer-read-only-props`).
@AlsoTheZv3n AlsoTheZv3n requested a review from iamjoel as a code owner May 21, 2026 13:13
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. javascript Pull requests that update javascript code refactor labels May 21, 2026
@github-actions github-actions Bot added the web This relates to changes on the web. label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code refactor size:S This PR changes 10-29 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant