mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
show git failure toasts indefinitely
This commit is contained in:
1 parent
804cdbd789
commit
bb8912dd57
1 file changed
+3
@@ -335,6 +335,7 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog
|
||||
title: "Push to Nostr failed",
|
||||
description: errorMessage,
|
||||
variant: "destructive",
|
||||
duration: Infinity,
|
||||
});
|
||||
} finally {
|
||||
setIsPushingToNostr(false);
|
||||
@@ -396,6 +397,7 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog
|
||||
title: "Push failed",
|
||||
description: errorMessage,
|
||||
variant: "destructive",
|
||||
duration: Infinity,
|
||||
});
|
||||
} finally {
|
||||
setIsPushing(false);
|
||||
@@ -474,6 +476,7 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog
|
||||
title: "Pull failed",
|
||||
description: errorMessage,
|
||||
variant: "destructive",
|
||||
duration: Infinity,
|
||||
});
|
||||
} finally {
|
||||
setIsPulling(false);
|
||||
|
||||
Reference in new issue
Block a user