Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] ReLoginDialog body 텍스트 고정 #333

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion app/src/@core/providers/ApolloProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ const ResponseInterceptor400 = ({
}
setReLoginDialogInfo({
isOpen: true,
description: error.message,
/**
* 현재 BE에서 400 상태코드를 Code로 구분해주지 않기 때문에, description이 항상 고정입니다.
* 이후 BE에서 Code로 구분해주면, Code에 따라 상응하는 description(= ReLoginDialog body) 분기할 예정입니다.
*/
description: '다시 로그인해주세요.',
});
break;
}
Expand Down