Refactoring
This commit is contained in:
@@ -7,7 +7,7 @@ import Loader from 'react-loader-spinner';
|
||||
import Text from '../UI/Text/Text';
|
||||
import Grid from '../UI/Grid/Grid';
|
||||
import configureImage from '../../assets/images/configure.png';
|
||||
import RootElem from '../../hoc/RootElem/RootElem';
|
||||
import RootElem from '../UI/RootElem/RootElem';
|
||||
import {displayConfiguration, removeRemoteMount, setProviderState} from '../../redux/actions/mount_actions';
|
||||
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
||||
import { faTrashAlt} from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
9
src/components/UI/RootElem/RootElem.js
Normal file
9
src/components/UI/RootElem/RootElem.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
|
||||
export default (props) => {
|
||||
return (
|
||||
<div style={{margin: 0, padding: 0}} {...props}>
|
||||
{props.children}
|
||||
</div>
|
||||
)
|
||||
};
|
||||
Reference in New Issue
Block a user