diff --git a/src/renderer/modules/Settings/BatterySettings.js b/src/renderer/modules/Settings/BatterySettings.js index 56b3c4bae..965def8fd 100644 --- a/src/renderer/modules/Settings/BatterySettings.js +++ b/src/renderer/modules/Settings/BatterySettings.js @@ -42,7 +42,7 @@ padding-top: 24px; } `; -const BatterySettings = ({ wireless, toggleSavingMode, changeWireless }) => { +function BatterySettings({ wireless, toggleSavingMode, changeWireless }) { return ( @@ -81,6 +81,6 @@ const BatterySettings = ({ wireless, toggleSavingMode, changeWireless }) => { ); -}; +} export default BatterySettings; diff --git a/src/renderer/modules/Settings/RFSettings.js b/src/renderer/modules/Settings/RFSettings.js index 1946ef3e5..f3d3fa39b 100644 --- a/src/renderer/modules/Settings/RFSettings.js +++ b/src/renderer/modules/Settings/RFSettings.js @@ -36,7 +36,7 @@ padding-top: 24px; } `; -const RFSettings = ({ sendRePair, wireless, changeWireless }) => { +function RFSettings({ sendRePair, wireless, changeWireless }) { return ( @@ -59,6 +59,6 @@ const RFSettings = ({ sendRePair, wireless, changeWireless }) => { ); -}; +} export default RFSettings;