diff --git a/packages/file-handling/src/clipboard.js b/packages/file-handling/src/clipboard.js
index 7d1e0c78ae767a82a15cb47b0c38b2b2b43c8740..5b6c7ee1987b270c02d7466f288d3cf04d70830b 100644
--- a/packages/file-handling/src/clipboard.js
+++ b/packages/file-handling/src/clipboard.js
@@ -174,7 +174,6 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
                         field: 'name',
                         sorter: 'alphanum',
                         formatter: (cell) => {
-                            var data = cell.getValue();
                             let div = getShadowRootDocument(this).createElement('div');
                             div.classList.add('filename');
                             div.innerHTML = cell.getValue();
diff --git a/packages/file-handling/src/nextcloud-file-picker.js b/packages/file-handling/src/nextcloud-file-picker.js
index 3da7c61373c072e21b805c90121405370b27f419..627840bcda381f5388dc58ffc94a36d6f76a431c 100644
--- a/packages/file-handling/src/nextcloud-file-picker.js
+++ b/packages/file-handling/src/nextcloud-file-picker.js
@@ -225,7 +225,6 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
                         field: 'basename',
                         sorter: 'alphanum',
                         formatter: (cell) => {
-                            var data = cell.getValue();
                             let div = getShadowRootDocument(this).createElement('div');
                             div.classList.add('filename');
                             div.innerHTML = cell.getValue();