Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

chore(UploadProgressV2):update-UploadProgressV2-inital-state

Aswin Asok2231f0eabd2f
diff --git a/web/packages/gallery/components/upload-progress-v2/UploadProgressV2.tsx b/web/packages/gallery/components/upload-progress-v2/UploadProgressV2.tsx
index 1972c3cf1c..40d66ce16d 100644
--- a/web/packages/gallery/components/upload-progress-v2/UploadProgressV2.tsx
+++ b/web/packages/gallery/components/upload-progress-v2/UploadProgressV2.tsx
@@ -59,7 +59,7 @@ function UploadProgress({
* showStopConfirmation: If the user tries to close the upload, we show
* a confirmation modal, and this variable is the decider for that.
*/
- const [expanded, setExpanded] = useState(true);
+ const [expanded, setExpanded] = useState(false);
const [dragPosition, setDragPosition] = useState<DragPosition>();
const [showStopConfirmation, setShowStopConfirmation] = useState(false);
const [summaryMode, setSummaryMode] = useState<"review" | "cancelling">();