Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
better-wp-security
/
core
/
packages
/
components
/
src
/
site-scan-results
:
system-error-details.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * WordPress dependencies */ import { __ } from '@wordpress/i18n'; /** * Internal dependencies. */ import WrappedSection from './wrapped-section'; import Detail from './detail'; function SystemErrorDetails( { results } ) { return ( results.errors.length > 0 && ( <WrappedSection type="system-error" status="error" description={ __( 'The scan failed to properly scan the site.', 'LION' ) } > { results.errors.map( ( entry, i ) => ( <Detail key={ i } status="error"> { entry.message } </Detail> ) ) } </WrappedSection> ) ); } export default SystemErrorDetails;