CYS - AI flow: fix regression - no fonts visible (#44280)
* CYS - AI flow: fix regression - no fonts visible * Add changefile(s) from automation for the following project(s): woocommerce * Trigger Build * fix lint error --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
33c2c0c0ca
commit
ae1503f588
|
@ -19,7 +19,6 @@ import {
|
|||
// @ts-ignore No types for this exist yet.
|
||||
import { unlock } from '@wordpress/edit-site/build-module/lock-unlock';
|
||||
import { GlobalStylesVariationIframe } from '../global-styles-variation-iframe';
|
||||
import { FontFamiliesLoader } from './font-families-loader';
|
||||
import {
|
||||
FONT_PREVIEW_LARGE_WIDTH,
|
||||
FONT_PREVIEW_LARGE_HEIGHT,
|
||||
|
@ -29,6 +28,7 @@ import {
|
|||
import { FontFamily } from '~/customize-store/types/font';
|
||||
import { CustomizeStoreContext } from '~/customize-store/assembler-hub';
|
||||
import { isAIFlow, isNoAIFlow } from '~/customize-store/guards';
|
||||
import { FontFamiliesLoaderDotCom } from './font-families-loader-dot-com';
|
||||
|
||||
const { useGlobalStyle, useGlobalSetting } = unlock( blockEditorPrivateApis );
|
||||
|
||||
|
@ -176,7 +176,7 @@ export const FontPairingVariationPreview = () => {
|
|||
</div>
|
||||
</div>
|
||||
{ isAIFlow( context.flowType ) && (
|
||||
<FontFamiliesLoader
|
||||
<FontFamiliesLoaderDotCom
|
||||
fontFamilies={ fontFamilies }
|
||||
onLoad={ handleOnLoad }
|
||||
/>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
Comment: CYS - AI flow: fix regression - no fonts visible
|
||||
|
Loading…
Reference in New Issue