Skip to content

Commit

Permalink
docs: remove comments that were just notes to self
Browse files Browse the repository at this point in the history
  • Loading branch information
knipec committed Mar 20, 2024
1 parent 45d13bd commit 074ef07
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
19 changes: 0 additions & 19 deletions src/sharedData/components/SharedDataEntryBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,25 +231,6 @@ const SharedDataEntryBase = props => {
{t('user.full_name', { user: dataEntry.createdBy })}
</Grid>

{/*
<Grid item xs={10} order={{ xs: 4 }} display={{ md: 'none' }} />
<Grid item xs={12} md={4} order={{ xs: 5, md: 3 }}>
<Grid container>
<Grid item xs={1} order={{ xs: 1 }} display={{ md: 'none' }} />
<Grid item xs={11} md={2} sx={{ wordWrap: 'break-word' }}>
{resourceType}
</Grid>
<Grid item xs={11} md={2} sx={{ wordWrap: 'break-word' }}>
{fileSize}
</Grid>
<Grid item xs={11} md={8}>
{formatDate(i18n.resolvedLanguage, dataEntry.createdAt)}, by{' '}
{t('user.full_name', { user: dataEntry.createdBy })}
</Grid>
</Grid>
</Grid>
*/}

<Grid
item
xs={4}
Expand Down
5 changes: 0 additions & 5 deletions src/sharedData/components/SharedDataEntryFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,6 @@ const SharedDataEntryFile = props => {
ShareComponent={ShareComponent}
fileSize={filesize(sharedResource.dataEntry.size, { round: 0 })}
resourceType={sharedResource.dataEntry.resourceType.toUpperCase()}
// TODO-cknipe: Just add resourceType to info, maybe?
// Hmm but Base does have to know about info regardless I guess
// we want it to be another
// Could just be info1 and info2 I guess
// but iono
>
<Visualizations file={sharedResource.dataEntry} />
</SharedDataEntryBase>
Expand Down

0 comments on commit 074ef07

Please sign in to comment.