diff --git a/src/components/2-molecules/AttachDialog.jsx b/src/components/2-molecules/AttachDialog.jsx
index 1f67290..7e3c460 100644
--- a/src/components/2-molecules/AttachDialog.jsx
+++ b/src/components/2-molecules/AttachDialog.jsx
@@ -16,13 +16,25 @@ import {
Divider,
Grid,
Typography,
+ ListItemText,
+ List,
+ IconButton,
+ ListItem,
} from '@mui/material';
import PropTypes from 'prop-types';
import { useStyles } from './AttachDialogStyles';
import Autocomplete from '../1-atoms/Autocomplete';
+import DeleteForeverIcon from '@mui/icons-material/DeleteForever';
const AttachDialog = (props) => {
- const { open, handleClose, attachWithFile, networks, attachWithId } = props;
+ const {
+ open,
+ handleClose,
+ attachWithFile,
+ networks,
+ attachWithId,
+ onDeleteNetwork,
+ } = props;
const [file, setFile] = useState(null);
const [networkId, setNetworkId] = useState('');
const classes = useStyles();
@@ -107,6 +119,31 @@ const AttachDialog = (props) => {
)}
+
+ Delete a known network :
+
+ {networks.map((network) => (
+
+ onDeleteNetwork(network.networkId)
+ }
+ edge="end"
+ aria-label="delete"
+ >
+
+
+ }
+ >
+
+
+ ))}
+
+
+