From 2232ff207dc38c90b8bcf5e0ca2f237beb12ac29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8C=E1=85=A5=E1=86=BC=E1=84=89=E1=85=A5=E1=86=BC?= =?UTF-8?q?=E1=84=92=E1=85=B1?= Date: Mon, 11 Mar 2024 18:00:24 +0900 Subject: [PATCH] =?UTF-8?q?hotifx-084:=20=EC=98=88=EC=99=B8=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/HomePage.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 28ec0a5..aa44b26 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -62,8 +62,10 @@ const HomePage: React.FC = () => { !userToken && getAllDummyVideos().then((res) => { + if (res.isSuccess) { + setDummyVideos(res.result.videos); + } setRecentVideos([]); - setDummyVideos(res.result.videos); }); setIsSideBarOpen(false);