diff --git a/assets/js/base/components/reviews/review-sort-select/index.tsx b/assets/js/base/components/reviews/review-sort-select/index.tsx index 434390ebcac..e8cb9928644 100644 --- a/assets/js/base/components/reviews/review-sort-select/index.tsx +++ b/assets/js/base/components/reviews/review-sort-select/index.tsx @@ -12,7 +12,7 @@ import './style.scss'; interface ReviewSortSelectProps { onChange: ChangeEventHandler; - readOnly: boolean; + readOnly?: boolean; value: 'most-recent' | 'highest-rating' | 'lowest-rating'; } diff --git a/assets/js/blocks/reviews/frontend-block.tsx b/assets/js/blocks/reviews/frontend-block.tsx index b091c3e9449..956a90485b7 100644 --- a/assets/js/blocks/reviews/frontend-block.tsx +++ b/assets/js/blocks/reviews/frontend-block.tsx @@ -49,7 +49,6 @@ const FrontendBlock = ( { ) }