Skip to content

Conversation

@shruti-14
Copy link
Collaborator

No description provided.

@shruti-14 shruti-14 requested a review from bgetting June 27, 2024 11:36
Copy link
Contributor

@bgetting bgetting left a comment

Choose a reason for hiding this comment

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

Looks good, but I'm wondering about all the trailing commas.

position = "top",
term,
url
url,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need this trailing comma?

Copy link
Collaborator Author

@shruti-14 shruti-14 Jun 28, 2024

Choose a reason for hiding this comment

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

It is added by linter.

className={triggerClass}
dangerouslySetInnerHTML={{
__html: term
__html: term,
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these trailing commas being added by a linter?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes

@shruti-14 shruti-14 merged commit 463b302 into master Jun 28, 2024
@shruti-14 shruti-14 deleted the fix/default-props-warning branch June 28, 2024 10:17
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.

4 participants