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

[Refactor]Complete #110

Merged
merged 38 commits into from
May 21, 2024
Merged

[Refactor]Complete #110

merged 38 commits into from
May 21, 2024

Conversation

zelkovaria
Copy link
Collaborator

📝Summary

Apply 페이지와 관련한 컴포넌트 및 style을 TypeScript로 리팩토링

@zelkovaria zelkovaria added the ♻️ refactor refactoring label May 7, 2024
@zelkovaria zelkovaria requested review from ndaemy and Bhanjo May 7, 2024 09:56
@zelkovaria zelkovaria self-assigned this May 7, 2024
Copy link
Member

@ndaemy ndaemy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. eslint 가 정상적으로 작동하지 않고 있습니다. typescript 로 변경하는 중에 생긴 이슈같아보여요

위의 이슈 때문에 request changes 남겨둡니다

package.json Outdated Show resolved Hide resolved
src/App.tsx Outdated Show resolved Hide resolved
src/components/CardLanyard/CardLanyard.tsx Outdated Show resolved Hide resolved
src/components/checkPage/SmallButton.tsx Outdated Show resolved Hide resolved
src/components/checkPage/SmallButton.tsx Outdated Show resolved Hide resolved
src/pages/Apply.tsx Outdated Show resolved Hide resolved
src/pages/Apply.tsx Outdated Show resolved Hide resolved
'서버에 이슈가 있습니다. 문제가 지속될 경우 메인 홈페이지의 채팅을 통해 관리자에게 문의해주세요.',
);
}
setIsLoading(false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

지금은 에러나는 경우에만 setIsLoading(false); 가 실행되고 있습니다. 오히려 정상적인 경우에는 loading 이 무제한으로 걸리고 있어요. 수정될 필요가 있습니다
finally 를 찾아보시는 것도 도움이 될거에요

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

말씀해주신대로 반영을 해서 수정해봤읍니다 ,,,!! 여유있으실 때 확인해주시면 감사하겠습니다 선생림!!🥹👍🏻

src/styles/colors.tsx Outdated Show resolved Hide resolved
Copy link

@Bhanjo Bhanjo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

src/styles/colors.tsx Outdated Show resolved Hide resolved
Comment on lines 1 to 15
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';
Copy link

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 두 방식으로 참조 가능할 것 같은데 맞나요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네에...!!👀

src/styles/colors.ts Outdated Show resolved Hide resolved
Comment on lines +13 to +15
export * from './colors';
export * from './size';
export * from './typographies';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

한조도 리뷰 남겼던 것 같은데, 얘네는 혹시 어떤 의도에요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

한 곳에서 관리하려던 의도였습니당...ㅎ

@zelkovaria zelkovaria merged commit 0b5fae9 into develop May 21, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
♻️ refactor refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants