diff --git a/src/components/ButtonAction.js b/src/components/ButtonAction.js index 26f9857c..dad35946 100644 --- a/src/components/ButtonAction.js +++ b/src/components/ButtonAction.js @@ -59,7 +59,7 @@ const useStyles = makeStyles((theme) => ({ // eslint-disable-next-line react/display-name const ButtonAction = React.forwardRef( - ({ className, children, disabled, ...props }) => { + ({ className, children, disabled, ...props }, ref) => { const classes = useStyles(); return ( @@ -70,6 +70,7 @@ const ButtonAction = React.forwardRef( disabled: classes.buttonDisabled, }} disabled={disabled} + ref={ref} {...props} > diff --git a/src/components/Dialog.js b/src/components/Dialog.js index 1c1d6c2e..e22b4c5f 100644 --- a/src/components/Dialog.js +++ b/src/components/Dialog.js @@ -37,7 +37,7 @@ const Dialog = ({ - diff --git a/src/views/Validation.js b/src/views/Validation.js index 650763b6..76b56100 100644 --- a/src/views/Validation.js +++ b/src/views/Validation.js @@ -101,7 +101,7 @@ const Validation = () => { const dialogContentFooter = () => { return ( - + {translate('Validation.buttonShareProfileLink')} );