Selaa lähdekoodia

Add a debug inspector

Manav Rathi 1 vuosi sitten
vanhempi
commit
c90e9b7fd1
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      web/apps/photos/src/components/Upload/Uploader.tsx

+ 3 - 0
web/apps/photos/src/components/Upload/Uploader.tsx

@@ -366,6 +366,9 @@ export default function Uploader(props: Props) {
                 setDesktopFilePaths([]);
             }
 
+            log.debug(() => "Uploader received:");
+            log.debug(() => fileOrPathsToUpload.current);
+
             fileOrPathsToUpload.current = pruneHiddenFiles(
                 fileOrPathsToUpload.current,
             );