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

Commit

Permalink
import checkbox from single place (#12015)
Browse files Browse the repository at this point in the history
  • Loading branch information
senadir authored Dec 1, 2023
1 parent 04d37a8 commit 3d4a34e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import {
noticeContexts,
} from '@woocommerce/base-context';
import { getSetting } from '@woocommerce/settings';
import { CheckboxControl } from '@woocommerce/blocks-checkout';
import {
StoreNoticesContainer,
ValidatedTextInput,
CheckboxControl,
} from '@woocommerce/blocks-components';
import { useDispatch, useSelect } from '@wordpress/data';
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ import {
useEditorContext,
noticeContexts,
} from '@woocommerce/base-context';
import { CheckboxControl } from '@woocommerce/blocks-checkout';
import { StoreNoticesContainer } from '@woocommerce/blocks-components';
import {
StoreNoticesContainer,
CheckboxControl,
} from '@woocommerce/blocks-components';
import Noninteractive from '@woocommerce/base-components/noninteractive';
import type {
BillingAddress,
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/components/checkbox-control/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { CheckboxControl } from '../../../components/checkbox-control';
export { CheckboxControl } from '@woocommerce/blocks-components';

0 comments on commit 3d4a34e

Please sign in to comment.