revert status

This commit is contained in:
Robby Klein 2020-02-12 16:38:08 -08:00
parent a35d66a1cb
commit 9282c00ace
1 changed files with 2 additions and 6 deletions

View File

@ -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 <File />;
@ -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 (
<div className="upload-file">