| 1 |
/** |
| 2 |
* Solid Performance Settings |
| 3 |
* |
| 4 |
*/ |
| 5 |
import { createRoot } from '@wordpress/element'; |
| 6 |
import SolidPerformanceSettings from './settings.js'; |
| 7 |
import { solidTheme as theme, Root } from '@ithemes/ui'; |
| 8 |
|
| 9 |
const rootElement = document.querySelector('.solidwp-performance-settings-main'); |
| 10 |
if ( rootElement ) { |
| 11 |
createRoot( rootElement ).render( |
| 12 |
<Root theme={ theme }> |
| 13 |
<SolidPerformanceSettings /> |
| 14 |
</Root> |
| 15 |
); |
| 16 |
} |
| 17 |
|