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

Commit 09be5ad

Browse files
authored
load controls in cart (#4291)
1 parent 9491050 commit 09be5ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

assets/js/data/cart/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ import * as selectors from './selectors';
1212
import * as actions from './actions';
1313
import * as resolvers from './resolvers';
1414
import reducer, { State } from './reducers';
15-
import { controls } from '../shared-controls';
15+
import { controls as sharedControls } from '../shared-controls';
16+
import { controls } from './controls';
1617

1718
registerStore< State >( STORE_KEY, {
1819
reducer,
1920
actions,
2021
// eslint-disable-next-line @typescript-eslint/no-explicit-any
21-
controls: { ...dataControls, ...controls } as any,
22+
controls: { ...dataControls, ...sharedControls, ...controls } as any,
2223
selectors,
2324
resolvers,
2425
} );

0 commit comments

Comments
 (0)