chore(date-picker): remove non-null assertion (#39514)

This commit is contained in:
Noel Kim (김민혁) 2022-12-16 16:52:00 +09:00 committed by GitHub
parent 1f5ab2d6a7
commit a14b53b4c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ export default function generateRangePicker<DateType>(generateConfig: GenerateCo
compactItemClassnames,
className,
)}
locale={locale!.lang}
locale={locale.lang}
prefixCls={prefixCls}
getPopupContainer={customGetPopupContainer || getPopupContainer}
generateConfig={generateConfig}