diff --git a/ui/js/component/fileActions/view.jsx b/ui/js/component/fileActions/view.jsx index 85dfbc1b4..cf6db5680 100644 --- a/ui/js/component/fileActions/view.jsx +++ b/ui/js/component/fileActions/view.jsx @@ -82,7 +82,6 @@ class FileActions extends React.PureComponent { } = this.props; const name = fileInfo ? fileInfo.name : null; - const path = fileInfo ? fileInfo.download_path : null; const channel = fileInfo ? fileInfo.channel_name : null; const metadata = fileInfo ? fileInfo.metadata : null, @@ -193,7 +192,7 @@ class FileActions extends React.PureComponent { {claimIsMine && navigate("/publish", { name, channel, path })} + onClick={() => navigate("/publish", { name, channel })} label={__("Edit claim")} />} { this.onFileChange(event); }}