Skip to content

Commit

Permalink
feat: handleDateChange 함수 handleDateTimeChange로 네이밍 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
pepperdad committed Nov 22, 2024
1 parent 9a7dd13 commit 17adbb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/register/utils/handleEvent.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SHOW_TYPE_KEY } from "@pages/gig/constants";
import { Dayjs } from "dayjs";
import { ChangeEvent, Dispatch, SetStateAction } from "react";
import { PerformanceImage, GigInfo } from "../typings/gigInfo";
import { SHOW_TYPE_KEY } from "@pages/gig/constants";
import { GigInfo, PerformanceImage } from "../typings/gigInfo";

// Image 핸들링
export const handleImageUpload = (
Expand Down Expand Up @@ -91,7 +91,7 @@ export const onPlusClick = (setGigInfo: Dispatch<SetStateAction<GigInfo>>) => {
};

// TimePicker 핸들링
export const handleDateChange = (
export const handleDateTimeChange = (
index: number,
date: Dayjs | null,
setGigInfo: Dispatch<SetStateAction<GigInfo>>
Expand Down

0 comments on commit 17adbb7

Please sign in to comment.