Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: missing img imports and configs

Marc Seitzefcf6a4247b1
diff --git a/app/(static)/investors/ClientPage.tsx b/app/(static)/investors/ClientPage.tsx
index 052238f3..c48a19ac 100644
--- a/app/(static)/investors/ClientPage.tsx
+++ b/app/(static)/investors/ClientPage.tsx
@@ -9,7 +9,6 @@ import Link from "next/link";
import Image from "next/image";
import PlaceholderImg from "@/public/_static/placeholder.png";
import PapermarkPImg from "@/public/_static/papermark-p.svg";
-import Head from "next/head";
const searchOptions = {
threshold: 0.3,
diff --git a/components/chat/chat-message.tsx b/components/chat/chat-message.tsx
index 8d1655fc..43c964d2 100644
--- a/components/chat/chat-message.tsx
+++ b/components/chat/chat-message.tsx
@@ -12,6 +12,8 @@ const mapMessageRole = {
system: { icon: <AlertCircle />, name: "System" },
assistant: { icon: <PapermarkSparkle />, name: "Papermark Assistant" },
function: { icon: <PapermarkSparkle />, name: "Papermark Assistant" },
+ data: { icon: <PapermarkSparkle />, name: "Papermark Assistant" },
+ tool: { icon: <PapermarkSparkle />, name: "Papermark Assistant" },
};
export interface ChatMessageProps {
diff --git a/components/web/launch/daysgrid.tsx b/components/web/launch/daysgrid.tsx
index bb76898c..b01aa5d6 100644
--- a/components/web/launch/daysgrid.tsx
+++ b/components/web/launch/daysgrid.tsx
@@ -1,10 +1,10 @@
import Image from "next/image";
import Link from "next/link";
-import oneImg from "public/_static/day1.webp";
-import twoImg from "public/_static/day2.png";
-import threeImg from "public/_static/day3.png";
-import fourImg from "public/_static/day4.jpg";
-import fiveImg from "public/_static/day5.jpg";
+import oneImg from "@/public/_static/day1.webp";
+import twoImg from "@/public/_static/day2.png";
+import threeImg from "@/public/_static/day3.png";
+import fourImg from "@/public/_static/day4.jpg";
+import fiveImg from "@/public/_static/day5.jpg";
const posts = [
{
diff --git a/components/web/launch/hero.tsx b/components/web/launch/hero.tsx
index 94954a68..c7150fec 100644
--- a/components/web/launch/hero.tsx
+++ b/components/web/launch/hero.tsx
@@ -1,5 +1,5 @@
import Image from "next/image";
-import michaelImg from "public/_static/michael.png";
+import michaelImg from "@/public/_static/michael.png";
export default function Example() {
return (
diff --git a/next.config.js b/next.config.js
index 45c606ab..0a8b9c66 100644
--- a/next.config.js
+++ b/next.config.js
@@ -55,6 +55,7 @@ const nextConfig = {
outputFileTracingIncludes: {
"/api/mupdf/*": ["./node_modules/mupdf/lib/*.wasm"],
},
+ missingSuspenseWithCSRBailout: false,
},
};
diff --git a/pages/api/revalidate.ts b/pages/api/revalidate.ts
index bf8d651f..495d5e79 100644
--- a/pages/api/revalidate.ts
+++ b/pages/api/revalidate.ts
@@ -1,6 +1,5 @@
import { NextApiRequest, NextApiResponse } from "next";
import prisma from "@/lib/prisma";
-import { P } from "@upstash/redis/zmscore-b6b93f14";
export default async function handler(
req: NextApiRequest,