fix: 빌드 에러 해결

This commit is contained in:
2025-05-20 13:34:15 +09:00
parent 4a5f9c7488
commit 12eb3b6438
2 changed files with 2 additions and 4 deletions
@@ -289,7 +289,7 @@ function PostingDialog({ postingType, postingTargets }: PostingDialogProps) {
{parseInt(rememberPeriodCode[site.siteId] ?? "") ===
0 && (
<DateRangePicker
handleDateChange={(date) =>
onValueChange={(date) =>
handlePeriodDateChange(site.siteId)(
date as DateRange | undefined,
)
@@ -76,9 +76,7 @@ function PostingPeriodSelector({
</span>
)
)}
{periodCode === "0" && (
<DateRangePicker handleDateChange={onDateChange} />
)}
{periodCode === "0" && <DateRangePicker onValueChange={onDateChange} />}
</div>
);
}