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

Convert no-reviews-placeholder.js to no-reviews-placeholder.tsx and replace propTypes with TypeScript definitions #42362

Closed
nielslange opened this issue May 19, 2023 · 0 comments · Fixed by #44664 · May be fixed by woocommerce/woocommerce-blocks#10249
Assignees
Labels
team: Kirigami & Origami type: cooldown Things that are queued for a cooldown period (assists with planning). type: enhancement The issue is a request for an enhancement. type: refactor The issue/PR is related to refactoring.

Comments

@nielslange
Copy link
Member

Problem

assets/js/blocks/reviews/reviews-by-product/no-reviews-placeholder.js is a JS file and uses propTypes definitions.

Expected outcome

  1. Convert the file from no-reviews-placeholder.js to no-reviews-placeholder.tsx.
  2. Replace propTypes with TypeScript definitions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: Kirigami & Origami type: cooldown Things that are queued for a cooldown period (assists with planning). type: enhancement The issue is a request for an enhancement. type: refactor The issue/PR is related to refactoring.
Projects
None yet
3 participants