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

Commit

Permalink
Update Feedback link on Cart and Checkout blocks (#12006)
Browse files Browse the repository at this point in the history
* Update feedback link

* Remove default url link, and make the param required
  • Loading branch information
wavvves committed Dec 1, 2023
1 parent b3dd7f1 commit 27c8a02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/editor-components/feedback-prompt/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 27c8a02

Please sign in to comment.