Skip to content

Commit

Permalink
feat(SalariesFileUpload): remove button wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom committed Sep 9, 2024
1 parent 9443283 commit 9baec92
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,13 @@ const SalariesFileUpload = ({
accept=".csv"
/>
<Box className={styles.uploadButtonWrapper}>
<button className={styles.uploadButton} tabIndex={-1}>
<label
htmlFor={UPLOAD_CSV_INPUT_ID}
className={styles.uploadButtonContent}
>
<UploadIcon className={styles.uploadButtonIcon} />
<span className={styles.uploadButtonText}>Upload (.csv)</span>
</label>
</button>
<label
htmlFor={UPLOAD_CSV_INPUT_ID}
className={styles.uploadButtonContent}
>
<UploadIcon className={styles.uploadButtonIcon} />
<span className={styles.uploadButtonText}>Upload (.csv)</span>
</label>
</Box>
</div>
);
Expand Down

0 comments on commit 9baec92

Please sign in to comment.