From 38b578e25b95790d41216a7fa7066c8106d6cfff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Fri, 21 Jun 2024 15:58:37 -0300 Subject: [PATCH] fix: set default for ts-check --- src/generic/FormikControl.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generic/FormikControl.jsx b/src/generic/FormikControl.jsx index 048ad991ab..7398c9a442 100644 --- a/src/generic/FormikControl.jsx +++ b/src/generic/FormikControl.jsx @@ -9,8 +9,8 @@ const FormikControl = ({ name, label, help, - className, - controlClasses, + className = FormikControl.defaultProps.className, + controlClasses = FormikControl.defaultProps.controlClasses, ...params }) => { const {