-
Notifications
You must be signed in to change notification settings - Fork 5
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
[FE] issue128: 전체적인 버그 및 기능 개선 #147
Conversation
모집완료시 스타일 변경
… feat/128-sprint-make-up
Co-Authored-By: airman5573 <68623798+airman5573@users.noreply.github.com>
Co-Authored-By: airman5573 <68623798+airman5573@users.noreply.github.com>
e, -, 한글 들어가지 않도록 수정 Co-Authored-By: airman5573 <68623798+airman5573@users.noreply.github.com>
Co-Authored-By: airman5573 <68623798+airman5573@users.noreply.github.com>
Co-Authored-By: airman5573 <68623798+airman5573@users.noreply.github.com>
Co-Authored-By: airman5573 <68623798+airman5573@users.noreply.github.com>
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.
Good
<Routes> | ||
<Route path="/" element={<MainPage />} /> | ||
<Route path="/study/:studyId" element={<DetailPage />} /> | ||
<Route path={PATH.MAIN} element={<MainPage />} /> |
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.
👍
@@ -2,6 +2,12 @@ export type EmptyObject = Record<string, never>; | |||
|
|||
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>; | |||
|
|||
export type Required<T, K extends keyof T> = T & { |
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.
👍
@@ -63,14 +67,16 @@ export const makeValidationResult = (hasError: boolean, errorMessage?: string) = | |||
errorMessage, | |||
}); | |||
|
|||
const initialFormState = { |
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.
👍
@@ -46,7 +46,7 @@ const CreateStudyPage: React.FC = () => { | |||
}; | |||
}; | |||
|
|||
const onSubmit = async (event: React.FormEvent<HTMLFormElement>, submitResult: UseFormSubmitResult) => { | |||
const onSubmit = async (_: React.FormEvent<HTMLFormElement>, submitResult: UseFormSubmitResult) => { |
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.
👍
@@ -78,19 +78,19 @@ const CreateStudyPage: React.FC = () => { | |||
return mutateAsync(postData, { | |||
onSuccess: () => { | |||
alert('스터디를 생성했습니다'); | |||
window.location.href = '/'; | |||
navigate(PATH.MAIN); |
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.
👍
@@ -52,11 +52,11 @@ const Category = ({ className }: CategoryProps) => { | |||
css={css` | |||
margin-right: 10px; | |||
`} | |||
htmlFor="max-member-count" | |||
htmlFor="generation" |
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.
👍
@@ -24,7 +24,7 @@ const EnrollmentEndDate = ({ className }: PeriodProps) => { | |||
<MetaBox.Content> | |||
<div> | |||
<label | |||
htmlFor="state-date" | |||
htmlFor="enrollment-end-date" |
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.
👍
@@ -28,7 +28,7 @@ const Period = ({ className }: PeriodProps) => { | |||
`} | |||
> | |||
<label | |||
htmlFor="state-date" | |||
htmlFor="start-date" |
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.
👍
@@ -26,6 +26,7 @@ const Tag = ({ className }: TagProps) => { | |||
|
|||
return ( | |||
<select | |||
id="tag-list" |
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.
👍
따봉 병민이네요! |
Co-Authored-By: airman5573 <68623798+airman5573@users.noreply.github.com>
요약
close #128