diff --git a/src/public/js/actions/torrents.js b/src/public/js/actions/torrents.js
index f6c7f0b..8af86d0 100644
--- a/src/public/js/actions/torrents.js
+++ b/src/public/js/actions/torrents.js
@@ -19,7 +19,7 @@ export function removeTorrent(id) {
"REMOVE_TORRENT",
configureAxios().delete(`/torrents/${id}`),
[
- fetchTorrents(),
+ () => fetchTorrents(),
]
)
}
diff --git a/src/public/js/components/torrents/list.js b/src/public/js/components/torrents/list.js
index 42e6ed1..856edbc 100644
--- a/src/public/js/components/torrents/list.js
+++ b/src/public/js/components/torrents/list.js
@@ -3,8 +3,6 @@ import { connect } from "react-redux"
import { bindActionCreators } from "redux"
import { addTorrent, removeTorrent } from "../../actions/torrents"
-import { OverlayTrigger, Tooltip } from "react-bootstrap"
-
function mapStateToProps(state) {
return { torrents: state.torrentStore.get("torrents") };
}
@@ -116,7 +114,6 @@ class Torrent extends React.PureComponent {
this.props.removeTorrent(this.props.data.getIn(["additional_infos", "id"]));
}
render() {
- const id = this.props.data.getIn(["additional_infos", "id"]);
const done = this.props.data.get("is_finished");
var progressStyle = "progress-bar progress-bar-info active";
if (done) {
@@ -128,8 +125,6 @@ class Torrent extends React.PureComponent {
percentDone = Number(percentDone).toFixed(1) + "%";
}
- const tooltip = (