From 1ba19eb96c15680536f12a937611579099ad3103 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sun, 10 Nov 2024 01:11:02 +0200 Subject: [PATCH] Refactor handleOpenInNewTab function in AboutSystemContainer.js --- .../src/features/about/system/AboutSystemContainer.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/features/about/system/AboutSystemContainer.js b/frontend/src/features/about/system/AboutSystemContainer.js index 3396f98..dd1e75d 100644 --- a/frontend/src/features/about/system/AboutSystemContainer.js +++ b/frontend/src/features/about/system/AboutSystemContainer.js @@ -13,12 +13,12 @@ const styles = { } }; -const AboutSystemContainer = () => { - const handleOpenInNewTab = url => event => { - window.open(url, "_blank"); - event.preventDefault(); - }; +const handleOpenInNewTab = url => event => { + window.open(url, "_blank"); + event.preventDefault(); +}; +const AboutSystemContainer = () => { return (