Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiiRochi committed Jun 24, 2022
1 parent 9ccd0e8 commit 65bba10
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/js/view/createMediaView.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const createMediaView = _ =>
tag: 'div',
ignoreRect: true,
create: ({ root, props }) => {
const { id } = props;

// get item
const item = root.query('GET_ITEM', { id: props.id });
Expand Down Expand Up @@ -41,8 +40,6 @@ export const createMediaView = _ =>
},
write: _.utils.createRoute({
DID_MEDIA_PREVIEW_LOAD: ({ root, props }) => {
const {id} = props;

// get item
const item = root.query('GET_ITEM', {id: props.id});
if (!item) return;
Expand Down

0 comments on commit 65bba10

Please sign in to comment.