Skip to content

Commit 856eb84

Browse files
committed
style(web): format onChange function in FreqSelect component for better readability
1 parent 352e286 commit 856eb84

File tree

1 file changed

+3
-1
lines changed
  • packages/web/src/views/Forms/EventForm/DateControlsSection/RecurrenceSection/components

1 file changed

+3
-1
lines changed

packages/web/src/views/Forms/EventForm/DateControlsSection/RecurrenceSection/components/FreqSelect.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ export const FreqSelect = ({
3636
options={options}
3737
classNamePrefix="freq-select"
3838
value={{ label, value }}
39-
onChange={(option) => option && option.value !== undefined && onFreqSelect(option.value)}
39+
onChange={(option) =>
40+
option && option.value !== undefined && onFreqSelect(option.value)
41+
}
4042
theme={(selectTheme) => ({
4143
...selectTheme,
4244
borderRadius: 4,

0 commit comments

Comments
 (0)