From 41fcd99feda034c8aa9c8c0c113bbc8d2cd9049c Mon Sep 17 00:00:00 2001 From: Leober Ramos Date: Sun, 22 Oct 2023 12:10:58 -0400 Subject: [PATCH] fix: fix build --- app/article/ResumeWithAI.jsx | 2 +- app/search/page.jsx | 4 +- package-lock.json | 818 +++++++++++++++++++++++++++++++++++ package.json | 2 + 4 files changed, 823 insertions(+), 3 deletions(-) diff --git a/app/article/ResumeWithAI.jsx b/app/article/ResumeWithAI.jsx index da08749..c8ed1ea 100644 --- a/app/article/ResumeWithAI.jsx +++ b/app/article/ResumeWithAI.jsx @@ -14,7 +14,7 @@ export default function ResumeWithAI({ pdf }) { setResume(data); setResumeIsLoading(false); }); - }, []); + }, [pdf]); return (
diff --git a/app/search/page.jsx b/app/search/page.jsx index 9d19d72..2ddbb09 100644 --- a/app/search/page.jsx +++ b/app/search/page.jsx @@ -110,7 +110,7 @@ export default async function Search({ searchParams }) { {articles.length > 1 && (