diff --git a/src/fireedge/src/client/components/Alerts/Error.js b/src/fireedge/src/client/components/Alerts/Error.js
new file mode 100644
index 0000000000..8ff0682fe8
--- /dev/null
+++ b/src/fireedge/src/client/components/Alerts/Error.js
@@ -0,0 +1,23 @@
+import React from 'react'
+import PropTypes from 'prop-types'
+
+import { Box } from '@material-ui/core'
+import { Alert } from '@material-ui/lab'
+
+const AlertError = ({ children, ...props }) => (
+
+
+ {children}
+
+
+)
+
+AlertError.propTypes = {
+ children: PropTypes.oneOfType([PropTypes.string, PropTypes.node])
+}
+
+AlertError.defaultProps = {
+ children: 'Error!'
+}
+
+export default AlertError
diff --git a/src/fireedge/src/client/components/Cards/ProviderCard.js b/src/fireedge/src/client/components/Cards/ProviderCard.js
index a483e4948d..c6b82e47f1 100644
--- a/src/fireedge/src/client/components/Cards/ProviderCard.js
+++ b/src/fireedge/src/client/components/Cards/ProviderCard.js
@@ -3,12 +3,10 @@ import PropTypes from 'prop-types'
import {
makeStyles,
- Box,
Fade,
Button,
Card,
CardHeader,
- CardContent,
CardActions
} from '@material-ui/core'
import FileIcon from '@material-ui/icons/Description'
@@ -26,14 +24,6 @@ const useStyles = makeStyles(theme => ({
overflowX: 'hidden',
flexGrow: 1
},
- subheader: {
- overflow: 'hidden',
- textOverflow: 'ellipsis',
- whiteSpace: 'initial',
- display: '-webkit-box',
- lineClamp: 2,
- boxOrient: 'vertical'
- },
content: {
display: 'flex',
gap: theme.typography.pxToRem(12)
@@ -43,7 +33,7 @@ const useStyles = makeStyles(theme => ({
const ProviderCard = memo(
({ value, handleShow, handleRemove }) => {
const classes = useStyles()
- const { ID, NAME, DESCRIPTION } = value
+ const { ID, NAME } = value
return (
@@ -58,19 +48,7 @@ const ProviderCard = memo(
noWrap: true,
title: NAME
}}
- subheader={DESCRIPTION}
- subheaderTypographyProps={{
- variant: 'body2',
- noWrap: true,
- className: classes.subheader,
- title: DESCRIPTION
- }}
/>
-
-
- {'content'}
-
-
{handleShow && (