Skip to content

Delete untoggleProblemsView as it is unused#2665

Merged
robertbrignull merged 1 commit intomainfrom
robertbrignull/ResultTables-untoggleProblemsView
Aug 3, 2023
Merged

Delete untoggleProblemsView as it is unused#2665
robertbrignull merged 1 commit intomainfrom
robertbrignull/ResultTables-untoggleProblemsView

Conversation

@robertbrignull
Copy link
Copy Markdown
Contributor

It was introduced in #602 and as far as I can tell it's always been unused. It seems just to be an error in that PR and the actual setting of state is done in handleCheckboxChanged.

Our deadcode detection seems to not be working for public methods on components like this.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

As far as I can tell it's been unused as far as back as
#602 when it was introduced.
It seems just to be an error in that PR.
@robertbrignull robertbrignull requested a review from a team August 3, 2023 11:21
@robertbrignull robertbrignull requested a review from a team as a code owner August 3, 2023 11:21
Copy link
Copy Markdown
Contributor

@shati-patel shati-patel left a comment

Choose a reason for hiding this comment

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

Good find 🧹

@robertbrignull robertbrignull merged commit 6b21f3f into main Aug 3, 2023
@robertbrignull robertbrignull deleted the robertbrignull/ResultTables-untoggleProblemsView branch August 3, 2023 12:55
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.

2 participants