2022-11-11 16:17:49 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
2024-07-04 09:36:38 +00:00
|
|
|
import { createRoot } from '@wordpress/element';
|
2022-11-11 16:17:49 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import SettingsPage from './settings-page';
|
|
|
|
|
|
|
|
const settingsContainer = document.getElementById(
|
|
|
|
'wc-shipping-method-pickup-location-settings-container'
|
|
|
|
);
|
2024-07-04 09:36:38 +00:00
|
|
|
|
2022-11-11 16:17:49 +00:00
|
|
|
if ( settingsContainer ) {
|
2024-07-04 09:36:38 +00:00
|
|
|
const root = createRoot( settingsContainer );
|
|
|
|
root.render( <SettingsPage /> );
|
2022-11-11 16:17:49 +00:00
|
|
|
}
|