Commit f7ac935a authored by Aron Fiechter's avatar Aron Fiechter
Browse files

Remove unused code

parent fe0029e1
Pipeline #892 failed with stage
......@@ -5,7 +5,6 @@ import Main from './components/Main';
import SearchModal from './components/search/SearchModal';
import NoResultsModal from './components/queryResult/NoResultsModal';
import Mobile from './components/mobile/Mobile';
import Button from 'react-bootstrap/Button';
import AboutModal from './components/about/AboutModal';
const App = () => {
......
......@@ -3,7 +3,6 @@ import React from 'react';
import Card from 'react-bootstrap/Card';
import ListGroup from 'react-bootstrap/ListGroup';
import Button from 'react-bootstrap/Button';
import ReadMore from './ReadMore';
import { MdClose } from 'react-icons/md';
import { useDispatch } from 'react-redux';
import { clearEntity } from '../voronoiSlice';
......@@ -56,13 +55,13 @@ export default function Info(props) {
</Button>
</Card.Footer>
<div className="position-absolute w-100 p-sm-2">
<a
href="#"
<div
className="float-right ml-sm-2 text-danger"
style={{ cursor: 'pointer' }}
onClick={() => dispatch(clearEntity())}
>
<MdClose />
</a>
</div>
</div>
</Card>
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment