Skip to content

Commit

Permalink
chore: 주석삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ljh0608 committed Jul 28, 2024
1 parent db466c5 commit 334b346
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pages/loginEntrance/components/HostComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ function HostComponent({ hostInfo, setHostInfo }: HostProps) {
}
} catch (err) {
if (isAxiosError(err)) {
// // axios에서 발생한 error
// const err = e as AxiosError;
if (err.response) {
//타입 가드 사용
if (err.response.status === 400) {
setIsLoginModalOpen(true);
} else if (err.response.status === 401) {
Expand Down

0 comments on commit 334b346

Please sign in to comment.