Remove redundant lock_unlock.js

[MAILPOET-6319]
This commit is contained in:
Rostislav Wolny
2024-11-26 09:14:30 +01:00
committed by Oluwaseun Olorunsola
parent b1c8f2cc0e
commit 324e02f2cf

View File

@ -1,10 +0,0 @@
/**
* WordPress dependencies
*/
import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';
export const { lock, unlock } =
__dangerousOptInToUnstableAPIsOnlyForCoreModules(
'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.',
'@wordpress/edit-post' // The module name must be in the list of allowed, so for now I used the package name of the post editor
);