mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Remove AlertTriangle from error text
This commit is contained in:
1 file changed
-4
@@ -77,7 +77,6 @@ export function SyncStepError({ error, onDismiss, onForcePull, onForcePush, onPu
|
||||
if (error instanceof GitErrors.FastForwardError) {
|
||||
return (
|
||||
<Alert variant="destructive">
|
||||
<AlertTriangle className="h-4 w-4" />
|
||||
<div className="flex flex-col gap-3">
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<AlertDescription className="text-sm flex-1">
|
||||
@@ -98,7 +97,6 @@ export function SyncStepError({ error, onDismiss, onForcePull, onForcePush, onPu
|
||||
if (error instanceof GitErrors.PushRejectedError) {
|
||||
return (
|
||||
<Alert variant="destructive">
|
||||
<AlertTriangle className="h-4 w-4" />
|
||||
<div className="flex flex-col gap-3">
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<AlertDescription className="text-sm flex-1">
|
||||
@@ -153,7 +151,6 @@ export function SyncStepError({ error, onDismiss, onForcePull, onForcePush, onPu
|
||||
|
||||
return (
|
||||
<Alert variant="destructive">
|
||||
<AlertTriangle className="h-4 w-4" />
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<AlertDescription className="text-sm flex-1">
|
||||
{message}
|
||||
@@ -167,7 +164,6 @@ export function SyncStepError({ error, onDismiss, onForcePull, onForcePush, onPu
|
||||
// Generic error fallback
|
||||
return (
|
||||
<Alert variant="destructive">
|
||||
<AlertTriangle className="h-4 w-4" />
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<AlertDescription className="text-sm flex-1">{error.message}</AlertDescription>
|
||||
{renderDismissButton()}
|
||||
|
||||
Reference in new issue
Block a user