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 = () => { getIcon = () => {
// const { status } = this.props; const { status } = this.props;
const status = "complete";
if (status === "uploading" || status === "processing") { if (status === "uploading" || status === "processing") {
return <File />; return <File />;
@ -37,10 +36,7 @@ export default class UploadFile extends Component {
urlRef = React.createRef(); urlRef = React.createRef();
render() { render() {
const { file, url } = this.props; const { file, url, status } = this.props;
const status = "complete";
const copyText = this.state.copied ? "Copied!" : "Copy to clipboard"; const copyText = this.state.copied ? "Copied!" : "Copy to clipboard";
return ( return (
<div className="upload-file"> <div className="upload-file">