Skip to content

Commit

Permalink
Remove feature flag and update support doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
jjchrisdiehl committed Jan 16, 2025
1 parent 84c2d45 commit 6d97419
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/components/inline-support-link/context-links.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ const contextLinks = {
link: 'https://wordpress.com/support/posts/tags/',
post_id: 8586,
},
'tax-exempt-customers': {
link: 'https://wordpress.com/support/vat-gst-other-taxes/#other-tax-exempt-customers',
'state-based-business-use-tax': {
link: 'https://wordpress.com/support/vat-gst-other-taxes/#state-based-business-use-tax',
post_id: 234670,
},
team: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FormStatus, useFormStatus } from '@automattic/composite-checkout';
import { useShoppingCart, convertTaxLocationToLocationUpdate } from '@automattic/shopping-cart';
import { hasCheckoutVersion, styled } from '@automattic/wpcom-checkout';
import { styled } from '@automattic/wpcom-checkout';
import { CheckboxControl } from '@wordpress/components';
import { useTranslate } from 'i18n-calypso';
import InlineSupportLink from 'calypso/components/inline-support-link';
Expand Down Expand Up @@ -43,7 +43,7 @@ export function IsForBusinessCheckbox() {
const isChecked = responseCart.tax.location.is_for_business ?? false;
const isDisabled = formStatus !== FormStatus.READY || isLoading || isPendingUpdate;

if ( ! isUnitedStateWithBusinessOption || ! hasCheckoutVersion( 'business-use-tax' ) ) {
if ( ! isUnitedStateWithBusinessOption ) {
return null;
}

Expand All @@ -59,7 +59,7 @@ export function IsForBusinessCheckbox() {
link: (
<InlineSupportLink
id="checkout-is-business-checkbox"
supportContext="tax-exempt-customers"
supportContext="state-based-business-use-tax"
showIcon={ false }
/>
),
Expand Down

0 comments on commit 6d97419

Please sign in to comment.