chore:little fixes and formating and linting and patches
This commit is contained in:
@@ -1,17 +1,20 @@
|
||||
import { ServerCrashIcon } from 'lucide-react';
|
||||
|
||||
import { FullPageEmptyState } from './full-page-empty-state';
|
||||
|
||||
export const FullPageErrorState = ({
|
||||
title = 'Error...',
|
||||
description = 'Something went wrong...',
|
||||
children,
|
||||
}: { title?: string; description?: string; children?: React.ReactNode }) => {
|
||||
}: {
|
||||
title?: string;
|
||||
description?: string;
|
||||
children?: React.ReactNode;
|
||||
}) => {
|
||||
return (
|
||||
<FullPageEmptyState
|
||||
className="min-h-[calc(100vh-theme(spacing.16))]"
|
||||
title={title}
|
||||
icon={ServerCrashIcon}
|
||||
title={title}
|
||||
>
|
||||
{description}
|
||||
{children && <div className="mt-4">{children}</div>}
|
||||
|
||||
Reference in New Issue
Block a user