Ran prettier
This commit is contained in:
@@ -47,14 +47,10 @@ export class ErrorBoundary extends Component<Props, State> {
|
||||
<CardTitle className="text-red-400">Something went wrong</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent className="space-y-4">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
An unexpected error occurred. Please try refreshing the page.
|
||||
</p>
|
||||
<p className="text-sm text-muted-foreground">An unexpected error occurred. Please try refreshing the page.</p>
|
||||
{import.meta.env.DEV && this.state.error && (
|
||||
<div className="p-3 bg-destructive/10 rounded-md">
|
||||
<p className="text-xs font-mono text-destructive break-all">
|
||||
{this.state.error.message}
|
||||
</p>
|
||||
<p className="text-xs font-mono text-destructive break-all">{this.state.error.message}</p>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex gap-2">
|
||||
|
||||
Reference in New Issue
Block a user