Skip to content

Commit 8834e13

Browse files
committed
feat: savings 파일에 catch 추가
1 parent a0b129c commit 8834e13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pages/savings-search/savings-search-page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ const SavingSearchPage = () => {
5656
(a, b) => b.maxRate - a.maxRate,
5757
);
5858
setSavingList(data);
59+
} catch (error) {
60+
setSavingList([]);
5961
setIsError(true);
6062
} finally {
6163
setIsLoading(false);

0 commit comments

Comments
 (0)