diff --git a/packages/sia-skynet/src/components/UploadFile/UploadFile.js b/packages/sia-skynet/src/components/UploadFile/UploadFile.js index 3683835d..02c73457 100644 --- a/packages/sia-skynet/src/components/UploadFile/UploadFile.js +++ b/packages/sia-skynet/src/components/UploadFile/UploadFile.js @@ -10,8 +10,7 @@ export default class UploadFile extends Component { }; getIcon = () => { - // const { status } = this.props; - const status = "complete"; + const { status } = this.props; if (status === "uploading" || status === "processing") { return ; @@ -37,10 +36,7 @@ export default class UploadFile extends Component { urlRef = React.createRef(); render() { - const { file, url } = this.props; - - const status = "complete"; - + const { file, url, status } = this.props; const copyText = this.state.copied ? "Copied!" : "Copy to clipboard"; return (