diff --git a/web/apps/photos/src/components/UploadProgress.tsx b/web/apps/photos/src/components/UploadProgress.tsx index fb0457e261..71fba1592c 100644 --- a/web/apps/photos/src/components/UploadProgress.tsx +++ b/web/apps/photos/src/components/UploadProgress.tsx @@ -150,11 +150,7 @@ const UploadProgressContext = createContext({ }); const MinimizedUploadProgress: React.FC = () => ( - ({ boxShadow: theme.vars.palette.boxShadow.menu })} - > + @@ -178,9 +174,7 @@ const UploadProgressTitle: React.FC = () => { - - {t("file_upload")} - + {t("file_upload")} diff --git a/web/apps/photos/src/components/WatchFolder.tsx b/web/apps/photos/src/components/WatchFolder.tsx index 5bf38ee759..57a038bd85 100644 --- a/web/apps/photos/src/components/WatchFolder.tsx +++ b/web/apps/photos/src/components/WatchFolder.tsx @@ -245,21 +245,22 @@ interface EntryHeadingProps { watch: FolderWatch; } -const EntryHeading: React.FC = ({ watch }) => { - const folderPath = watch.folderPath; - - return ( - - {basename(folderPath)} - {watcher.isSyncingFolder(folderPath) && ( - - )} - - ); -}; +const EntryHeading: React.FC = ({ + watch: { folderPath }, +}) => ( + + {basename(folderPath)} + {watcher.isSyncingFolder(folderPath) && ( + + )} + +); const FolderPath: React.FC = ({ children }) => (