Skip to content

Commit

Permalink
Update src/sharedData/components/SharedDataUpload/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Schreiber <[email protected]>
  • Loading branch information
josebui and paulschreiber authored Nov 14, 2023
1 parent f6eeeda commit 732c5f7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sharedData/components/SharedDataUpload/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ const SharedDataUpload = props => {
);
byType.files?.forEach(result => {
const file = _.get('value.meta.arg.file.file', result);

Check failure on line 119 in src/sharedData/components/SharedDataUpload/index.js

View workflow job for this annotation

GitHub Actions / lint

'file' is assigned a value but never used
const size = file.size;
const type = file.type;
trackEvent('dataEntry.file.upload', {
props: {
[entityType]: owner.slug,
Expand Down

0 comments on commit 732c5f7

Please sign in to comment.