Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Oct 2, 2024
1 parent 01d42c6 commit fcd2244
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/store/modules/clipboardModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ const clipboardModule = {
console.error('Item or item uuid is missing');
return;
}
// state.clipboard = state.clipboard.filter(clipboardItem => clipboardItem.uuid !== item.uuid);
const index = state.clipboard.findIndex(clipboardItem => clipboardItem.uuid === item.uuid);
if (index !== -1) {
state.clipboard.splice(index, 1);
Expand Down

0 comments on commit fcd2244

Please sign in to comment.