revert status
This commit is contained in:
parent
a35d66a1cb
commit
9282c00ace
|
@ -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">
|
||||||
|
|
Reference in New Issue