Changed icon used for replacing files

This commit is contained in:
Joao Ramos
2023-12-13 23:39:22 +00:00
parent 020ecff29c
commit b77e97a9d2

View File

@@ -1,5 +1,5 @@
import React, { ChangeEvent } from "react"; import React, { ChangeEvent } from "react";
import { BsUpload, BsDownload, BsTrash, BsFilePdf } from "react-icons/bs"; import { BsUpload, BsDownload, BsTrash, BsArrowRepeat } from "react-icons/bs";
import { FilesStorage } from "@/interfaces/storage.files"; import { FilesStorage } from "@/interfaces/storage.files";
import axios from "axios"; import axios from "axios";
@@ -128,7 +128,7 @@ const PaymentAssetManager = (props: {
return ( return (
<> <>
<BsDownload onClick={downloadAsset} /> <BsDownload onClick={downloadAsset} />
<BsFilePdf onClick={() => fileInputReplaceRef.current?.click()} /> <BsArrowRepeat onClick={() => fileInputReplaceRef.current?.click()} />
<BsTrash onClick={deleteAsset} /> <BsTrash onClick={deleteAsset} />
{renderFileInput( {renderFileInput(
(e: Event) => handleFileChange(e, "patch"), (e: Event) => handleFileChange(e, "patch"),