Skip to content

Commit

Permalink
[friends-native] api 실패 에러 핸들링
Browse files Browse the repository at this point in the history
  • Loading branch information
ars-ki-00 committed Oct 5, 2024
1 parent b8701b8 commit 2597f88
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ export const MainScreen = () => {

dispatch({ type: 'setFriend', friendId: response.id });
},
onError: () => {
Alert.alert('친구 추가를 실패했습니다.\n잠시 후, 다시 시도해 주세요.');
},
},
);
});
Expand Down

0 comments on commit 2597f88

Please sign in to comment.