[CYS] Fix - Add back parent machine to the `designWithNoAiStateMachineDefinition` child machine option (#44397)
* Add back parent machine to the designWithoutAi child machine option * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
e373a69209
commit
fa9d68eed6
|
@ -23,6 +23,7 @@ export type DesignWithoutAiComponentMeta = {
|
|||
};
|
||||
|
||||
export const DesignWithNoAiController = ( {
|
||||
parentMachine,
|
||||
parentContext,
|
||||
}: {
|
||||
parentMachine?: AnyInterpreter;
|
||||
|
@ -31,6 +32,7 @@ export const DesignWithNoAiController = ( {
|
|||
} ) => {
|
||||
const [ , , service ] = useMachine( designWithNoAiStateMachineDefinition, {
|
||||
devTools: process.env.NODE_ENV === 'development',
|
||||
parent: parentMachine,
|
||||
context: {
|
||||
...designWithNoAiStateMachineDefinition.context,
|
||||
isFontLibraryAvailable:
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: fix
|
||||
|
||||
Fix - Add back the parent machine to the `designWithNoAiStateMachineDefinition` child machine option.
|
Loading…
Reference in New Issue