Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(tag editor list): convert to .tsx #1566

Merged
merged 1 commit into from
Feb 15, 2023
Merged

Conversation

ajohn25
Copy link
Contributor

@ajohn25 ajohn25 commented Feb 14, 2023

Description

This converts the tag editor list component to a TypeScript functional component.

Motivation and Context

Best practices + easy change while working on #1565 This component is not a direct contributor to the issues described there, so merging #1567 is a higher priority than this PR.

How Has This Been Tested?

This has been tested locally.

Screenshots (if appropriate):

Documentation Changes

Checklist:

  • My change requires a change to the documentation.
  • I have included updates for the documentation accordingly.

@@ -199,7 +199,7 @@ class AdminTagEditor extends Component {
<div>
<TagEditorList
tags={tagList}
oEditTag={this.handleEditTag}
onEditTag={this.handleEditTag}
Copy link
Member

Choose a reason for hiding this comment

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

TS FTW! Nice fix

@ajohn25 ajohn25 merged commit b88521e into main Feb 15, 2023
@ajohn25 ajohn25 deleted the refactor-tag-editor-list branch February 15, 2023 20:19
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.

3 participants