From 541473eb66bb3253cd01d5c363c7e4f2adbd2e2f Mon Sep 17 00:00:00 2001 From: Oleksandr Hladin Date: Mon, 6 Jan 2025 19:23:59 +0200 Subject: [PATCH] fix types --- .../components/EventTypeAppSettingsInterface.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/app-store/stripepayment/components/EventTypeAppSettingsInterface.tsx b/packages/app-store/stripepayment/components/EventTypeAppSettingsInterface.tsx index af6b5a99888def..77cf706f7185a8 100644 --- a/packages/app-store/stripepayment/components/EventTypeAppSettingsInterface.tsx +++ b/packages/app-store/stripepayment/components/EventTypeAppSettingsInterface.tsx @@ -197,7 +197,9 @@ const EventTypeAppSettingsInterface: EventTypeAppSettingsComponent = ({ options={options} isSearchable={false} isDisabled={disabled} - onChange={(option) => setAppData("refundCountCalendarDays", option?.value === 1)} + onChange={(option: (typeof options)[0]) => + setAppData("refundCountCalendarDays", option?.value === 1) + } value={getSelectedOption()} defaultValue={getSelectedOption()} />