fix: improve UI and lint fix

This commit is contained in:
Meet
2024-10-01 01:34:24 +05:30
parent 54e4314e88
commit b0e536e576
2 changed files with 20 additions and 8 deletions
@@ -189,8 +189,17 @@ export const ImportTab = () => {
onClick={() => {
fileUploadRef?.current?.click();
}}
>
>
{fileUploadRef?.current?.value ? (
<span className="text-green text-sm">
{fileUploadRef?.current?.value.split("\\").pop()}
</span>
) : (
<>
Upload export file&nbsp;
<FontAwesomeIcon icon={faUpload} size="xs" />
</>
)}
</IconButton>
</>
</FormControl>