fix: file name is not visible in form for local development

This commit is contained in:
prafull-opensignlabs
2024-02-28 18:22:14 +05:30
committed by GitHub
parent 58cd0495e6
commit 780c3f5f6d
+1 -1
View File
@@ -280,7 +280,7 @@ const Forms = (props) => {
<div className="flex gap-2 justify-center items-center">
<div className="flex justify-between items-center px-2 py-2 w-full font-bold rounded border-[1px] border-[#ccc] text-gray-500 bg-white text-[13px]">
<div className="break-all">
file selected : {fileupload?.split("/")[3]?.split("_")[1]}
file selected : {fileupload?.split("/")?.pop()?.split("_")[1]}
</div>
<div
onClick={() => {