diff --git a/web/cashtab/src/components/Configure/Configure.js b/web/cashtab/src/components/Configure/Configure.js --- a/web/cashtab/src/components/Configure/Configure.js +++ b/web/cashtab/src/components/Configure/Configure.js @@ -137,7 +137,7 @@ margin: 60px 0 50px; `; -export default () => { +const Configure = () => { const ContextValue = React.useContext(WalletContext); const { wallet, loading, apiError } = ContextValue; @@ -555,3 +555,5 @@ ); }; + +export default Configure; diff --git a/web/cashtab/src/components/NotFound.js b/web/cashtab/src/components/NotFound.js --- a/web/cashtab/src/components/NotFound.js +++ b/web/cashtab/src/components/NotFound.js @@ -1,10 +1,12 @@ import React from 'react'; import { Row, Col } from 'antd'; -export default () => ( +const NotFound = () => (

Page not found

); + +export default NotFound; diff --git a/web/cashtab/src/utils/GoogleAnalytics.js b/web/cashtab/src/utils/GoogleAnalytics.js --- a/web/cashtab/src/utils/GoogleAnalytics.js +++ b/web/cashtab/src/utils/GoogleAnalytics.js @@ -68,8 +68,10 @@ }); }; -export default { +const GoogleAnalyticsDefault = { GoogleAnalytics, RouteTracker, init, }; + +export default GoogleAnalyticsDefault;