Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /home/giriqfky/swamivivekananda.co.in/wp-content/plugins/suremails/src//index.js
// File: src/index.js
// Import createRoot from @wordpress/element for WordPress compatibility
import { createRoot } from 'react-dom/client';
import App from './App';
import './styles.css'; // Ensure your styles are imported
// Find the root element in the WordPress page where the app will be rendered
const rootElement = document.getElementById( 'suremails-root-app' );
if ( rootElement ) {
// Create a root and render the App component
const root = createRoot( rootElement );
// Render the App within the root
root.render( <App /> );
}
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | July 10 2025 04:32:27 | giriqfky / giriqfky | 0755 | |
api | -- | July 10 2025 04:32:27 | giriqfky / giriqfky | 0755 | |
assets | -- | July 10 2025 04:32:27 | giriqfky / giriqfky | 0755 | |
components | -- | July 10 2025 04:32:27 | giriqfky / giriqfky | 0755 | |
routes | -- | July 10 2025 04:32:27 | giriqfky / giriqfky | 0755 | |
screens | -- | July 10 2025 04:32:27 | giriqfky / giriqfky | 0755 | |
utils | -- | July 10 2025 04:32:27 | giriqfky / giriqfky | 0755 | |
| | | | | |
.htaccess | 0.41 KB | July 10 2025 04:32:27 | giriqfky / giriqfky | 0644 | |
App.js | 1.553 KB | June 23 2025 07:12:38 | giriqfky / giriqfky | 0644 | |
index.js | 0.534 KB | June 23 2025 07:12:38 | giriqfky / giriqfky | 0644 | |
styles.css | 1.189 KB | June 23 2025 07:12:38 | giriqfky / giriqfky | 0644 | |