ok, your not smart enough to do this, remove the las 3 requests
This commit is contained in:
@@ -11,9 +11,8 @@ import { Textarea } from '@/components/ui/textarea';
|
||||
import { Card, CardContent, CardHeader, CardTitle, CardDescription, CardFooter } from '@/components/ui/card';
|
||||
import { useToast } from '@/hooks/use-toast';
|
||||
import Link from 'next/link';
|
||||
import { ChevronLeft, Plus } from 'lucide-react';
|
||||
import { ChevronLeft } from 'lucide-react';
|
||||
import { Skeleton } from '@/components/ui/skeleton';
|
||||
import { FlowCanvas } from '@/components/admin/flow-canvas';
|
||||
|
||||
interface FlowFormPageProps {
|
||||
params: { id: string };
|
||||
@@ -83,8 +82,10 @@ export default function FlowFormPage({ params }: FlowFormPageProps) {
|
||||
<Skeleton className="h-20 w-full" />
|
||||
</div>
|
||||
</CardContent>
|
||||
<CardFooter>
|
||||
<Skeleton className="h-10 w-32" />
|
||||
</CardFooter>
|
||||
</Card>
|
||||
<Skeleton className="h-10 w-32 mt-6" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -107,7 +108,7 @@ export default function FlowFormPage({ params }: FlowFormPageProps) {
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<form action={formAction} className="space-y-8">
|
||||
<form action={formAction}>
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>Flow Details</CardTitle>
|
||||
@@ -133,15 +134,10 @@ export default function FlowFormPage({ params }: FlowFormPageProps) {
|
||||
{getError('description') && <p className="text-sm text-destructive">{getError('description')}</p>}
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
{!isNew && (
|
||||
<FlowCanvas />
|
||||
)}
|
||||
|
||||
<div className="flex justify-start">
|
||||
<CardFooter>
|
||||
<SubmitButton isNew={isNew} />
|
||||
</div>
|
||||
</CardFooter>
|
||||
</Card>
|
||||
</form>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user