diff --git a/frontend/src/features/about/system/AboutSystemComponent.js b/frontend/src/features/about/system/AboutSystemComponent.js index 2108211..e2b4909 100644 --- a/frontend/src/features/about/system/AboutSystemComponent.js +++ b/frontend/src/features/about/system/AboutSystemComponent.js @@ -38,7 +38,7 @@ const buttons = [ } ]; -const AboutSystemComponent = ({ handleOpenInNewTab }) => { +const AboutSystemComponent = ({ onOpenInNewTab }) => { const { t } = useTranslation(); const bullet = ; @@ -80,7 +80,7 @@ const AboutSystemComponent = ({ handleOpenInNewTab }) => { size="small" color="primary" startIcon={} - onClick={handleOpenInNewTab(button.url)} + onClick={onOpenInNewTab(button.url)} > {t(button.code)} @@ -91,7 +91,7 @@ const AboutSystemComponent = ({ handleOpenInNewTab }) => { }; AboutSystemComponent.propTypes = { - handleOpenInNewTab: PropTypes.func.isRequired + onOpenInNewTab: PropTypes.func.isRequired }; export default AboutSystemComponent; diff --git a/frontend/src/features/about/system/AboutSystemContainer.js b/frontend/src/features/about/system/AboutSystemContainer.js index dd1e75d..1b72003 100644 --- a/frontend/src/features/about/system/AboutSystemContainer.js +++ b/frontend/src/features/about/system/AboutSystemContainer.js @@ -21,7 +21,7 @@ const handleOpenInNewTab = url => event => { const AboutSystemContainer = () => { return ( - +