mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector
synced 2025-06-21 19:17:04 +03:00
Refactor handleOpenInNewTab function in AboutSystemContainer.js
This commit is contained in:
parent
0a3257dca3
commit
1ba19eb96c
@ -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 (
|
||||
<Box sx={styles.page}>
|
||||
<AboutSystemComponent handleOpenInNewTab={handleOpenInNewTab} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user