Remove FullScreenMode component from new product editor (#41375)
Remove FullScreenMode component since it seems we're not using it for anything
This commit is contained in:
parent
fac0669fc8
commit
703936e307
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: fix
|
||||||
|
|
||||||
|
Fix sidebar scroll behavior when using new product editor
|
|
@ -29,7 +29,7 @@ import { ShortcutProvider } from '@wordpress/keyboard-shortcuts';
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore No types for this exist yet.
|
// @ts-ignore No types for this exist yet.
|
||||||
// eslint-disable-next-line @woocommerce/dependency-group
|
// eslint-disable-next-line @woocommerce/dependency-group
|
||||||
import { FullscreenMode, InterfaceSkeleton } from '@wordpress/interface';
|
import { InterfaceSkeleton } from '@wordpress/interface';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
|
@ -68,7 +68,6 @@ export function Editor( {
|
||||||
id={ product.id }
|
id={ product.id }
|
||||||
>
|
>
|
||||||
<ShortcutProvider>
|
<ShortcutProvider>
|
||||||
<FullscreenMode isActive={ false } />
|
|
||||||
<ValidationProvider initialValue={ product }>
|
<ValidationProvider initialValue={ product }>
|
||||||
<InterfaceSkeleton
|
<InterfaceSkeleton
|
||||||
header={
|
header={
|
||||||
|
|
Loading…
Reference in New Issue