Skip to content

Commit

Permalink
refactor: Change Grid container to React fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
knipec committed Apr 1, 2024
1 parent 75c6f5f commit 1997b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sharedData/components/SharedDataEntryFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const InfoComponent = ({ sharedResource }) => {
const fileSize = filesize(sharedResource.dataEntry.size, { round: 0 });
const fileType = sharedResource.dataEntry.resourceType;
return (
<Grid container>
<>
<Grid
item
xs={3}
Expand All @@ -79,7 +79,7 @@ const InfoComponent = ({ sharedResource }) => {
{fileSize}
</Grid>
<Grid item xs={1} display={{ md: 'none' }} />
</Grid>
</>
);
};

Expand Down

0 comments on commit 1997b32

Please sign in to comment.