From 8af690f5f4052fdbde0afeb47f0afab68425b82c Mon Sep 17 00:00:00 2001 From: salvador-jimenez Date: Tue, 6 Dec 2022 11:55:16 -0600 Subject: [PATCH] Updating button type if you're using the multi-select-box inside a form these buttons will trigger a submit action just for not specifying the button type. https://redux-form.com/8.3.0/docs/faq/buttontype.md/ --- src/lib/components/Button/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/Button/index.js b/src/lib/components/Button/index.js index 0c1507d..711f43b 100644 --- a/src/lib/components/Button/index.js +++ b/src/lib/components/Button/index.js @@ -4,7 +4,7 @@ import styles from './styles.module.scss' const Button = ({ children, onClick, type = '' }) => { return ( - )