Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 27c8a02

Browse files
committed
Update Feedback link on Cart and Checkout blocks (#12006)
* Update feedback link * Remove default url link, and make the param required
1 parent b3dd7f1 commit 27c8a02

File tree

1 file changed

+2
-2
lines changed
  • assets/js/editor-components/feedback-prompt

1 file changed

+2
-2
lines changed

assets/js/editor-components/feedback-prompt/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import './style.scss';
1212
interface FeedbackPromptProps {
1313
text: string;
1414
title?: string;
15-
url?: string;
15+
url: string;
1616
}
1717
/**
1818
* Component to render a Feedback prompt in the sidebar.
@@ -25,7 +25,7 @@ interface FeedbackPromptProps {
2525
const FeedbackPrompt = ( {
2626
text,
2727
title = __( 'Feedback?', 'woo-gutenberg-products-block' ),
28-
url = 'https://ideas.woocommerce.com/forums/133476-woocommerce?category_id=384565',
28+
url,
2929
}: FeedbackPromptProps ) => {
3030
// By returning false we ensure that this component is not entered into the InspectorControls
3131
// (which is a slot fill), children array on first render, on the second render when the state

0 commit comments

Comments
 (0)