fix: 빌드 에러 해결
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user