update
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { Link } from '@tanstack/react-router';
|
||||
import { buttonVariants } from '@repo/ui/components/button';
|
||||
|
||||
/**
|
||||
* Shown for a realm that doesn't exist or that the user isn't in. Also where
|
||||
* someone lands when they are removed from a realm they have open.
|
||||
*/
|
||||
export function RealmMissing() {
|
||||
return (
|
||||
<div className="flex flex-1 flex-col items-center justify-center gap-3 p-6 text-center">
|
||||
<h1 className="font-heading text-xl font-semibold">Realm not found</h1>
|
||||
<p className="max-w-sm text-sm text-muted-foreground">
|
||||
It doesn't exist, or you aren't in it.
|
||||
</p>
|
||||
<Link to="/app" className={buttonVariants({ variant: 'outline' })}>
|
||||
Back to your conversations
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user