From 9282c00acefb20264eaf8217cd7014e3d8f65260 Mon Sep 17 00:00:00 2001 From: Robby Klein Date: Wed, 12 Feb 2020 16:38:08 -0800 Subject: [PATCH] revert status --- .../sia-skynet/src/components/UploadFile/UploadFile.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 (