-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Refactor]Complete #110
[Refactor]Complete #110
Conversation
[Refactor]Apply
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- eslint 가 정상적으로 작동하지 않고 있습니다. typescript 로 변경하는 중에 생긴 이슈같아보여요
위의 이슈 때문에 request changes 남겨둡니다
src/pages/Apply.tsx
Outdated
'서버에 이슈가 있습니다. 문제가 지속될 경우 메인 홈페이지의 채팅을 통해 관리자에게 문의해주세요.', | ||
); | ||
} | ||
setIsLoading(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지금은 에러나는 경우에만 setIsLoading(false); 가 실행되고 있습니다. 오히려 정상적인 경우에는 loading 이 무제한으로 걸리고 있어요. 수정될 필요가 있습니다
finally 를 찾아보시는 것도 도움이 될거에요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
말씀해주신대로 반영을 해서 수정해봤읍니다 ,,,!! 여유있으실 때 확인해주시면 감사하겠습니다 선생림!!🥹👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
src/styles/index.tsx
Outdated
import { colors } from './colors'; | ||
import { size } from './size'; | ||
import { typographies } from './typographies'; | ||
|
||
export const theme = { | ||
colors, | ||
size, | ||
typographies, | ||
}; | ||
|
||
export type Theme = typeof theme; | ||
|
||
export * from './colors'; | ||
export * from './size'; | ||
export * from './typographies'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이걸 해석해보면 colors, size, typographies는 blue, theme.blue 두 방식으로 참조 가능할 것 같은데 맞나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네에...!!👀
export * from './colors'; | ||
export * from './size'; | ||
export * from './typographies'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
한조도 리뷰 남겼던 것 같은데, 얘네는 혹시 어떤 의도에요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
한 곳에서 관리하려던 의도였습니당...ㅎ
📝Summary
Apply 페이지와 관련한 컴포넌트 및 style을 TypeScript로 리팩토링