Skip to content

Commit

Permalink
Merge pull request #133 from teamViNO/hotfix-084
Browse files Browse the repository at this point in the history
hotifx-084: 예외 처리
  • Loading branch information
whistleJs authored Mar 11, 2024
2 parents e42cfac + 2232ff2 commit cc837b9
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 cc837b9

Please sign in to comment.