Skip to content

Commit ce3509f

Browse files
committed
feat:불필요 소스 제거 & 린팅
1 parent b482c10 commit ce3509f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/component/pages/CallbackPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ interface GitHubResponse {
2222
export const setInterceptorToken = (jwt: string) => {
2323
request.interceptors.request.use(config => {
2424
config.headers['Authorization'] = `Bearer ${jwt}`;
25+
2526
return config;
2627
});
2728
};

src/component/pages/RegisterRoomPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const RegisterRoomPage = ({history}: RouteComponentProps) => {
5353

5454
request
5555
.post('/room', roomInfo)
56-
.then(({data}) => {
56+
.then(() => {
5757
// 방 입장 로직 필요
5858
history.push('/');
5959
})

src/component/templates/TitleTemplate.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import styled from 'styled-components';
44

55
const TitleTemplate = () => {
66
const history = useHistory();
7+
78
return (
89
<TitleBox>
910
<Circle></Circle>

0 commit comments

Comments
 (0)