diff --git a/src/components/common/input/QInput.jsx b/src/components/common/input/QInput.jsx index aea2d66e..39b8be08 100644 --- a/src/components/common/input/QInput.jsx +++ b/src/components/common/input/QInput.jsx @@ -41,32 +41,28 @@ export default function QInput({ type, readOnly = false, options = [], value, on ) return ( -
-
-
- {type === 'text' ? ( -
- -
- ) : type === 'radio' || type === 'checkbox' ? ( -
- {options?.map((option) => ( -
- handleChange(e, option.value)} - /> - -
- ))} -
- ) : null} + <> + {type === 'text' ? ( +
+
-
-
+ ) : type === 'radio' || type === 'checkbox' ? ( +
+ {options?.map((option) => ( +
+ handleChange(e, option.value)} + /> + +
+ ))} +
+ ) : null} + ) } diff --git a/src/components/common/select/QSelect.jsx b/src/components/common/select/QSelect.jsx index ba89ef04..acf0ac6b 100644 --- a/src/components/common/select/QSelect.jsx +++ b/src/components/common/select/QSelect.jsx @@ -18,25 +18,17 @@ export default function QSelect({ placeholder, options, disabled = false, dark = ) return ( -
-
-
-
- -
-
-
-
+ ) }