File "vulnerabilities.js"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/better-wp-security/core/admin-pages/entries/vulnerabilities.js
File size: 687 bytes
MIME-type: text/x-java
Charset: utf-8
/**
* WordPress dependencies
*/
import domReady from '@wordpress/dom-ready';
import { render } from '@wordpress/element';
/**
* Internal dependencies
*/
import App from './vulnerabilities/app';
import { createHistory } from './settings/history';
const history = createHistory( document.location, { page: 'itsec-vulnerabilities' } );
domReady( () => {
const containerEl = document.getElementById( 'itsec-vulnerabilities-root' );
render(
<App history={ history } />,
containerEl
);
} );
export { BeforeHeaderFill } from './vulnerabilities/components/before-header/index';
export { vulnerabilityIcon, severityColor } from './vulnerabilities/components/vulnerability-table';