From 324e02f2cfa0f2d775236c16b41433f904f7f92c Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Tue, 26 Nov 2024 09:14:30 +0100 Subject: [PATCH] Remove redundant lock_unlock.js [MAILPOET-6319] --- .../js/email-editor/src/private-apis/lock-unlock.js | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 packages/js/email-editor/src/private-apis/lock-unlock.js diff --git a/packages/js/email-editor/src/private-apis/lock-unlock.js b/packages/js/email-editor/src/private-apis/lock-unlock.js deleted file mode 100644 index 20bb58e012..0000000000 --- a/packages/js/email-editor/src/private-apis/lock-unlock.js +++ /dev/null @@ -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 - );