diff --git a/Client/src/Components/Button/index.jsx b/Client/src/Components/Button/index.jsx index bba101dc1..485973498 100644 --- a/Client/src/Components/Button/index.jsx +++ b/Client/src/Components/Button/index.jsx @@ -58,6 +58,7 @@ const Button = ({ disabled, img, onClick, + props, sx, }) => { const { variant, color } = levelConfig[level]; @@ -84,6 +85,7 @@ const Button = ({ }, ...sx, }} + {...props} > {img && img} {label} diff --git a/Client/src/Pages/Auth/Login.jsx b/Client/src/Pages/Auth/Login.jsx index 2868b5d75..78b1d7957 100644 --- a/Client/src/Pages/Auth/Login.jsx +++ b/Client/src/Pages/Auth/Login.jsx @@ -117,6 +117,7 @@ const StepOne = ({ form, errors, onSubmit, onChange, onBack }) => { mr: theme.gap.xs, }, }} + props={{ tabIndex: -1 }} />