diff --git a/web/package-lock.json b/web/package-lock.json index 390c429..5f67d05 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -8,7 +8,7 @@ "name": "search", "version": "0.1.0", "dependencies": { - "@next/third-parties": "^14.1.4", + "@next/third-parties": "^14.0.4", "@radix-ui/react-popover": "^1.0.7", "@tailwindcss/forms": "^0.5.7", "@upstash/ratelimit": "^1.0.0", @@ -18,7 +18,7 @@ "lucide-react": "^0.309.0", "mdast-util-from-markdown": "^2.0.0", "nanoid": "^5.0.4", - "next": "^14.1.4", + "next": "^14.0.4", "react": "^18", "react-dom": "^18", "react-markdown": "^9.0.1", diff --git a/web/package.json b/web/package.json index 57ddfd4..8e60d35 100644 --- a/web/package.json +++ b/web/package.json @@ -11,7 +11,7 @@ "lint": "next lint" }, "dependencies": { - "@next/third-parties": "^14.1.4", + "@next/third-parties": "^14.0.4", "@radix-ui/react-popover": "^1.0.7", "@tailwindcss/forms": "^0.5.7", "@upstash/ratelimit": "^1.0.0", @@ -21,7 +21,7 @@ "lucide-react": "^0.309.0", "mdast-util-from-markdown": "^2.0.0", "nanoid": "^5.0.4", - "next": "^14.1.4", + "next": "^14.0.4", "react": "^18", "react-dom": "^18", "react-markdown": "^9.0.1", diff --git a/web/src/app/components/answer.tsx b/web/src/app/components/answer.tsx index eb5244f..65015d1 100644 --- a/web/src/app/components/answer.tsx +++ b/web/src/app/components/answer.tsx @@ -9,6 +9,7 @@ import { Source } from "@/app/interfaces/source"; import { BookOpenText } from "lucide-react"; import { FC } from "react"; import Markdown from "react-markdown"; +import Image from "next/image"; export const Answer: FC<{ markdown: string; sources: Source[] }> = ({ markdown, @@ -51,11 +52,12 @@ export const Answer: FC<{ markdown: string; sources: Source[] }> = ({