fix build
This commit is contained in:
@@ -1,12 +1,22 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import JoinTeam from "~/components/team/JoinTeam";
|
import JoinTeam from "~/components/team/JoinTeam";
|
||||||
|
import { Suspense } from "react";
|
||||||
|
import Spinner from "@unsend/ui/src/spinner";
|
||||||
|
|
||||||
export default function CreateTeam() {
|
export default function CreateTeam() {
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center justify-center min-h-screen ">
|
<div className="flex items-center justify-center min-h-screen ">
|
||||||
<div className=" w-[300px] flex flex-col gap-8">
|
<div className=" w-[300px] flex flex-col gap-8">
|
||||||
|
<Suspense
|
||||||
|
fallback={
|
||||||
|
<div className="flex justify-center">
|
||||||
|
<Spinner className="h-5 w-5" innerSvgClass="stroke-primary" />
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
>
|
||||||
<JoinTeam />
|
<JoinTeam />
|
||||||
|
</Suspense>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user