Skip to content

Commit

Permalink
hotifx-084: 예외 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
whistleJs committed Mar 11, 2024
1 parent e42cfac commit 2232ff2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2232ff2

Please sign in to comment.