21 lines
633 B
TypeScript
21 lines
633 B
TypeScript
import { DrawingUploadForm } from '@/components/drawings/upload-form';
|
|
|
|
// Force dynamic rendering to prevent build-time prerendering issues
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
// Ensure this page is never statically generated
|
|
export const fetchCache = 'force-no-store';
|
|
|
|
export default function DrawingUploadPage() {
|
|
return (
|
|
<div className="max-w-4xl mx-auto py-6">
|
|
<div className="mb-8">
|
|
<h1 className="text-3xl font-bold">Upload Drawing</h1>
|
|
<p className="text-muted-foreground mt-1">Upload a new contract or shop drawing revision.</p>
|
|
</div>
|
|
|
|
<DrawingUploadForm />
|
|
</div>
|
|
);
|
|
}
|