diff --git a/web/apps/photos/src/components/Export.tsx b/web/apps/photos/src/components/Export.tsx index 63aa99d271..7a8ab1c569 100644 --- a/web/apps/photos/src/components/Export.tsx +++ b/web/apps/photos/src/components/Export.tsx @@ -36,7 +36,6 @@ import { formattedDateTime } from "ente-base/i18n-date"; import log from "ente-base/log"; import { EnteFile } from "ente-media/file"; import { ItemCard, PreviewItemTile } from "ente-new/photos/components/Tiles"; -import { FlexWrapper } from "ente-shared/components/Container"; import { CustomError } from "ente-shared/error"; import { t } from "i18next"; import React, { memo, useCallback, useEffect, useState } from "react"; @@ -395,8 +394,8 @@ const ExportInProgressDialogContent: React.FC< > = ({ exportStage, exportProgress, onClose, onStopExport }) => ( <> - - + + {exportStage === ExportStage.starting ? ( t("export_starting") ) : exportStage === ExportStage.migration ? ( @@ -433,14 +432,9 @@ const ExportInProgressDialogContent: React.FC< )} - - {exportStage === ExportStage.starting || - exportStage === ExportStage.migration || - exportStage === ExportStage.renamingCollectionFolders || - exportStage === ExportStage.trashingDeletedFiles || - exportStage === ExportStage.trashingDeletedCollections ? ( - - ) : ( + + + {exportStage === ExportStage.exportingFiles ? ( + ) : ( + )} - +