Skip to content

Commit

Permalink
Feat removed button tag for ui representation
Browse files Browse the repository at this point in the history
  • Loading branch information
varun2948 committed Dec 28, 2023
1 parent 8ff0499 commit 8f5129a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/projectDetail/fileFormatCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function FileFormatCard({ title, fileFormats, downloadS3Data, isDownloadingState

return (
<React.Fragment key={fileFormat.title}>
<button
<span
role="button"
tabIndex={0}
style={
loadingState
Expand All @@ -36,7 +37,7 @@ function FileFormatCard({ title, fileFormats, downloadS3Data, isDownloadingState
{fileFormat.format}
{loadingState ? <AnimatedLoadingIcon /> : null}
</p>
</button>
</span>
{index !== fileFormats.length - 1 && <hr className="file-list-separator" />}
</React.Fragment>
);
Expand Down

0 comments on commit 8f5129a

Please sign in to comment.