From 27c8a0223059de527e02ddb8e50cef5baf18f620 Mon Sep 17 00:00:00 2001 From: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Date: Fri, 1 Dec 2023 13:01:42 +0000 Subject: [PATCH] Update Feedback link on Cart and Checkout blocks (#12006) * Update feedback link * Remove default url link, and make the param required --- assets/js/editor-components/feedback-prompt/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/editor-components/feedback-prompt/index.tsx b/assets/js/editor-components/feedback-prompt/index.tsx index 939941eb874..c9400e25a36 100644 --- a/assets/js/editor-components/feedback-prompt/index.tsx +++ b/assets/js/editor-components/feedback-prompt/index.tsx @@ -12,7 +12,7 @@ import './style.scss'; interface FeedbackPromptProps { text: string; title?: string; - url?: string; + url: string; } /** * Component to render a Feedback prompt in the sidebar. @@ -25,7 +25,7 @@ interface FeedbackPromptProps { const FeedbackPrompt = ( { text, title = __( 'Feedback?', 'woo-gutenberg-products-block' ), - url = 'https://ideas.woocommerce.com/forums/133476-woocommerce?category_id=384565', + url, }: FeedbackPromptProps ) => { // By returning false we ensure that this component is not entered into the InspectorControls // (which is a slot fill), children array on first render, on the second render when the state