Skip to content

Commit

Permalink
SWC-7064 - prefer div over Box when sx is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgros committed Nov 13, 2024
1 parent 47c42a6 commit 55edabe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export const EntityUpload = React.forwardRef(function EntityUpload(
totalSizeInBytes * fractionOfPartsUploaded

return (
<Box
<div
key={
// File path + name should be unique
fileNameWithPath
Expand All @@ -309,7 +309,7 @@ export const EntityUpload = React.forwardRef(function EntityUpload(
onRemove={fileProgress.remove}
errorMessage={fileProgress.failureReason}
/>
</Box>
</div>
)
}}
</FixedSizeList>
Expand Down

0 comments on commit 55edabe

Please sign in to comment.