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

AI fixes buttons in the sidebar go blank #21439

Merged
Prev Previous commit
Adapt JSDoc
  • Loading branch information
FAMarfuaty committed Jun 18, 2024
commit 7e59dc934b19c36e2a4335ccbed9cc51ab767c26
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import propTypes from "prop-types";
/**
* The AI Assessment Fixes button icon.
* @param {boolean} pressed Whether the button is pressed.
* @param {string} gradientId The gradient ID for the icon.
* @returns {JSX.Element} The AI Assessment Fixes button icon.
*/
export const SparklesIcon = ( { pressed = false, gradientId } ) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess here it would also be better to add gradientId to the JSDoc of SparklesIcon 😺

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll commit this :D See my latest commit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, good call! Thank you 🙏

Expand Down