Skip to content

Commit 48cfd5a

Browse files
Build Error
Export useActionState doesn't exist in target module ./sr
1 parent 74457a6 commit 48cfd5a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • src/app/(app)/projects/[id]/codespace/files/[[...path]]

src/app/(app)/projects/[id]/codespace/files/[[...path]]/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ import ReactMarkdown from 'react-markdown';
3333
import remarkGfm from 'remark-gfm';
3434
import { Badge } from '@/components/ui/badge';
3535
import NextImage from 'next/image';
36-
import { useForm, useActionState as useReactActionState } from 'react-hook-form';
36+
import { useForm } from 'react-hook-form';
37+
import { useActionState as useReactActionState } from 'react';
3738
import { zodResolver } from '@hookform/resolvers/zod';
3839
import * as z from 'zod';
3940

@@ -520,6 +521,7 @@ function FileExplorerContent() {
520521
sizes="100vw"
521522
style={{ width: 'auto', height: 'auto', maxHeight: '65vh', maxWidth: '100%' }}
522523
className="rounded-md object-contain"
524+
data-ai-hint="code image"
523525
/>
524526
</div>
525527
)}

0 commit comments

Comments
 (0)