Skip to content

Commit 15bdb72

Browse files
committed
refactor: Remove unused export
1 parent 5474e14 commit 15bdb72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utils/wordpress-i18n.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
import * as hooks from '@wordpress/hooks';
55
import * as i18n from '@wordpress/i18n';
66

7+
initializeWordPressI18n();
8+
79
/**
810
* Initialize WordPress i18n globals by defining i18n-related modules on the
911
* `window.wp` namespace. This must be done before other WordPress modules are
1012
* loaded, as they depend on i18n being configured.
1113
*
1214
* @return {void}
1315
*/
14-
export function initializeWordPressI18n() {
16+
function initializeWordPressI18n() {
1517
// Initialize the wp namespace if it doesn't exist
1618
window.wp = window.wp || {};
1719

1820
// Define i18n-related WordPress modules on window.wp
1921
window.wp.hooks = hooks;
2022
window.wp.i18n = i18n;
2123
}
22-
23-
initializeWordPressI18n();

0 commit comments

Comments
 (0)