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:
Nathan Silveira 2023-11-13 16:11:32 -03:00 committed by GitHub
parent fac0669fc8
commit 703936e307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Fix sidebar scroll behavior when using new product editor

View File

@ -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={