Skip to content

Commit 5849fcf

Browse files
authored
set default themeVariant in DateTimePicker (wix#2259)
1 parent 390d485 commit 5849fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/dateTimePicker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function DateTimePicker(props: DateTimePickerPropsInternal) {
130130
is24Hour,
131131
minuteInterval,
132132
timeZoneOffsetInMinutes,
133-
themeVariant,
133+
themeVariant = Colors.getScheme(),
134134
onChange,
135135
dialogProps,
136136
headerStyle,

0 commit comments

Comments
 (0)