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

Commit d5ded4b

Browse files
senadirTarun Vijwani
authored andcommitted
add side effect to package
1 parent 4046f54 commit d5ded4b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

assets/js/blocks/cart/edit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import {
2828
useForcedLayout,
2929
BlockSettings,
3030
} from '../cart-checkout-shared';
31+
import '../cart-checkout-shared/sidebar-notices';
3132
import { CartBlockContext } from './context';
3233

3334
// This is adds a class to body to signal if the selected block is locked

assets/js/blocks/checkout/edit.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import {
3232
BlockSettings,
3333
useBlockPropsWithLocking,
3434
} from '../cart-checkout-shared';
35+
import '../cart-checkout-shared/sidebar-notices';
3536
import { CheckoutBlockContext, CheckoutBlockControlsContext } from './context';
3637
import type { Attributes } from './types';
3738

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"./assets/js/blocks/cart/inner-blocks/**/index.tsx",
2222
"./assets/js/blocks/cart/inner-blocks/register-components.ts",
2323
"./assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/**/index.tsx",
24-
"./assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/register-components.ts"
24+
"./assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/register-components.ts",
25+
"./assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx"
2526
],
2627
"repository": {
2728
"type": "git",

0 commit comments

Comments
 (0)