Skip to content

Commit df111fe

Browse files
authored
Merge pull request #2342 from trycompai/main
[comp] Production Deploy
2 parents c003e71 + 7954f13 commit df111fe

13 files changed

Lines changed: 285 additions & 219 deletions

File tree

apps/app/next.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ const config: NextConfig = {
6161
],
6262
},
6363

64+
serverExternalPackages: ['jspdf'],
65+
6466
experimental: {
6567
serverActions: {
6668
// NOTE: Attachment uploads may be sent as base64 strings, which increases payload size.

apps/app/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
"@browserbasehq/stagehand": "^3.0.5",
2020
"@calcom/atoms": "^1.0.102-framer",
2121
"@calcom/embed-react": "^1.5.3",
22-
"@trycompai/auth": "workspace:*",
23-
"@trycompai/company": "workspace:*",
24-
"@trycompai/integration-platform": "workspace:*",
2522
"@date-fns/tz": "^1.2.0",
2623
"@dnd-kit/core": "^6.3.1",
2724
"@dnd-kit/modifiers": "^9.0.0",
@@ -68,9 +65,12 @@
6865
"@tiptap/react": "3.16.0",
6966
"@trigger.dev/react-hooks": "4.4.3",
7067
"@trigger.dev/sdk": "4.4.3",
68+
"@trycompai/auth": "workspace:*",
69+
"@trycompai/company": "workspace:*",
7170
"@trycompai/db": "1.3.22",
7271
"@trycompai/design-system": "^1.0.32",
7372
"@trycompai/email": "workspace:*",
73+
"@trycompai/integration-platform": "workspace:*",
7474
"@types/canvas-confetti": "^1.9.0",
7575
"@types/react-syntax-highlighter": "^15.5.13",
7676
"@types/three": "^0.180.0",
@@ -100,7 +100,7 @@
100100
"mammoth": "^1.11.0",
101101
"motion": "^12.35.0",
102102
"nanoid": "^5.1.6",
103-
"next": "^16.0.10",
103+
"next": "^16.2.0",
104104
"next-safe-action": "^8.0.3",
105105
"next-themes": "^0.4.4",
106106
"nuqs": "^2.4.3",

apps/app/src/app/(app)/[orgId]/documents/[formType]/page.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { CompanyFormPageClient } from '@/app/(app)/[orgId]/documents/components/
22
import { Breadcrumb, PageLayout } from '@trycompai/design-system';
33
import Link from 'next/link';
44
import { notFound } from 'next/navigation';
5+
import { Suspense } from 'react';
56
import { evidenceFormDefinitions, evidenceFormTypeSchema } from '../forms';
67

78
export default async function CompanyFormDetailPage({
@@ -30,10 +31,12 @@ export default async function CompanyFormDetailPage({
3031
{ label: formDefinition.title, isCurrent: true },
3132
]}
3233
/>
33-
<CompanyFormPageClient
34-
organizationId={orgId}
35-
formType={parsedType.data}
36-
/>
34+
<Suspense>
35+
<CompanyFormPageClient
36+
organizationId={orgId}
37+
formType={parsedType.data}
38+
/>
39+
</Suspense>
3740
</PageLayout>
3841
);
3942
}

0 commit comments

Comments
 (0)