diff --git a/Dockerfile b/Dockerfile index 98b4dded..925b32f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /app COPY package.json pnpm-lock.yaml ./ -RUN npm i -g pnpm@8.15.7 +RUN npm i -g pnpm@latest RUN pnpm install COPY . . @@ -21,7 +21,7 @@ COPY --from=base /app/public ./public COPY --from=base /app/node_modules ./node_modules COPY --from=base /app/next.config.mjs ./next.config.mjs -RUN npm i -g pnpm@8.15.7 +RUN npm i -g pnpm@latest EXPOSE 3000 diff --git a/components/layout/search/block/answer.tsx b/components/layout/search/block/answer.tsx index 8b282353..94a61449 100644 --- a/components/layout/search/block/answer.tsx +++ b/components/layout/search/block/answer.tsx @@ -12,7 +12,7 @@ import store from '@/hooks/store'; export const Answer = ({ content, }: Readonly<{ - content: StreamableValue; + content: string | StreamableValue; }>) => { const t = useTranslations();