Skip to content

Commit

Permalink
chore: 코드 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
wokbjso committed Aug 26, 2024
1 parent f84ce09 commit 07cfb95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features/record/components/organisms/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,12 @@ export function Form() {

//Todo: 기록 에러 발생 시 처리
const onSubmit: SubmitHandler<RecordRequestProps> = async (data) => {
if (isLoading) return;
//기록 수정 모드일 때
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { poolName, laneMeter, totalDistance, ...restData } = data;
const submitData = modifySubmitData(restData);
if (isLoading) return;

handlers.onChangeIsLoading(true);
if (isEditMode) {
//이미지가 수정 되었을 때
Expand Down

0 comments on commit 07cfb95

Please sign in to comment.