diff --git a/ui/js/component/fileDetails/view.jsx b/ui/js/component/fileDetails/view.jsx index 6a4cd2047..aaa6ab24e 100644 --- a/ui/js/component/fileDetails/view.jsx +++ b/ui/js/component/fileDetails/view.jsx @@ -34,8 +34,6 @@ class FileDetails extends React.PureComponent { ? path.normalize(fileInfo.download_path) : null; - const directory = downloadPath ? path.dirname(downloadPath) : null; - return (