Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/app/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ const config: NextConfig = {
],
},

serverExternalPackages: ['jspdf'],

experimental: {
serverActions: {
// NOTE: Attachment uploads may be sent as base64 strings, which increases payload size.
Expand Down
8 changes: 4 additions & 4 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"@browserbasehq/stagehand": "^3.0.5",
"@calcom/atoms": "^1.0.102-framer",
"@calcom/embed-react": "^1.5.3",
"@trycompai/auth": "workspace:*",
"@trycompai/company": "workspace:*",
"@trycompai/integration-platform": "workspace:*",
"@date-fns/tz": "^1.2.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
Expand Down Expand Up @@ -68,9 +65,12 @@
"@tiptap/react": "3.16.0",
"@trigger.dev/react-hooks": "4.4.3",
"@trigger.dev/sdk": "4.4.3",
"@trycompai/auth": "workspace:*",
"@trycompai/company": "workspace:*",
"@trycompai/db": "1.3.22",
"@trycompai/design-system": "^1.0.32",
"@trycompai/email": "workspace:*",
"@trycompai/integration-platform": "workspace:*",
"@types/canvas-confetti": "^1.9.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/three": "^0.180.0",
Expand Down Expand Up @@ -100,7 +100,7 @@
"mammoth": "^1.11.0",
"motion": "^12.35.0",
"nanoid": "^5.1.6",
"next": "^16.0.10",
"next": "^16.2.0",
"next-safe-action": "^8.0.3",
"next-themes": "^0.4.4",
"nuqs": "^2.4.3",
Expand Down
11 changes: 7 additions & 4 deletions apps/app/src/app/(app)/[orgId]/documents/[formType]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { CompanyFormPageClient } from '@/app/(app)/[orgId]/documents/components/
import { Breadcrumb, PageLayout } from '@trycompai/design-system';
import Link from 'next/link';
import { notFound } from 'next/navigation';
import { Suspense } from 'react';
import { evidenceFormDefinitions, evidenceFormTypeSchema } from '../forms';

export default async function CompanyFormDetailPage({
Expand Down Expand Up @@ -30,10 +31,12 @@ export default async function CompanyFormDetailPage({
{ label: formDefinition.title, isCurrent: true },
]}
/>
<CompanyFormPageClient
organizationId={orgId}
formType={parsedType.data}
/>
<Suspense>
<CompanyFormPageClient
organizationId={orgId}
formType={parsedType.data}
/>
</Suspense>
</PageLayout>
);
}
Loading
Loading