fix error states + remove run button

This commit is contained in:
Ishaan Dey
2024-05-13 15:31:48 -07:00
parent 9d5f9c37cc
commit 7141d74525
4 changed files with 11 additions and 7 deletions

View File

@ -39,7 +39,7 @@ export default function Loading({
{didFail ? (
<>
<X className="h-4 w-4 mr-2 text-destructive" /> Failed to
create resources.
start server.
</>
) : (
<>
@ -47,7 +47,12 @@ export default function Loading({
</>
)}
</DialogTitle>
{description ? (
{didFail ? (
<DialogDescription>
Try again in a minute, or contact @ishaandey_ on Twitter/X if it
still doesn't work.
</DialogDescription>
) : description ? (
<DialogDescription>{description}</DialogDescription>
) : null}
</DialogHeader>