Skip to content

armgit / ente

Public Imported from GitHub
0

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

Keep failed post status visible

Anand Baburajan22b57e8fbb40
diff --git a/web/apps/space/src/state/AppStateProvider.tsx b/web/apps/space/src/state/AppStateProvider.tsx
index 822627ef5f..e02b2f3317 100644
--- a/web/apps/space/src/state/AppStateProvider.tsx
+++ b/web/apps/space/src/state/AppStateProvider.tsx
@@ -147,11 +147,7 @@ export const SpaceAppStateProvider: React.FC<React.PropsWithChildren> = ({
return post;
} catch (error) {
if (postPublishGenerationRef.current == generation) {
- setPostPublication({
- ...publication,
- phase: "failed",
- statusExpiresAtMs: Date.now() + postStatusDurationMs,
- });
+ setPostPublication({ ...publication, phase: "failed" });
}
throw error;
}