From 7cc1fccd69c7f92a85ef58b9f565e3a0e3cf883c Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 31 Aug 2018 12:16:36 +0800 Subject: [PATCH] remove extra empty object argument --- src/pages/Account/Settings/BaseView.js | 16 ++++++++-------- src/pages/Account/Settings/NotificationView.js | 4 ++-- src/pages/Account/Settings/SecurityView.js | 2 +- src/pages/Authorized.js | 2 +- src/pages/Exception/403.js | 2 +- src/pages/Exception/404.js | 2 +- src/pages/Exception/500.js | 2 +- src/pages/Result/Error.js | 4 ++-- src/pages/Result/Success.js | 4 ++-- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/pages/Account/Settings/BaseView.js b/src/pages/Account/Settings/BaseView.js index 727fd9c3..42952d1d 100644 --- a/src/pages/Account/Settings/BaseView.js +++ b/src/pages/Account/Settings/BaseView.js @@ -88,7 +88,7 @@ class BaseView extends Component {
- + {getFieldDecorator('email', { rules: [ { @@ -98,7 +98,7 @@ class BaseView extends Component { ], })()} - + {getFieldDecorator('name', { rules: [ { @@ -108,7 +108,7 @@ class BaseView extends Component { ], })()} - + {getFieldDecorator('profile', { rules: [ { @@ -118,12 +118,12 @@ class BaseView extends Component { ], })( )} - + {getFieldDecorator('country', { rules: [ { @@ -137,7 +137,7 @@ class BaseView extends Component { )} - + {getFieldDecorator('geographic', { rules: [ { @@ -150,7 +150,7 @@ class BaseView extends Component { ], })()} - + {getFieldDecorator('address', { rules: [ { @@ -160,7 +160,7 @@ class BaseView extends Component { ], })()} - + {getFieldDecorator('phone', { rules: [ { diff --git a/src/pages/Account/Settings/NotificationView.js b/src/pages/Account/Settings/NotificationView.js index 7af6a143..81862945 100644 --- a/src/pages/Account/Settings/NotificationView.js +++ b/src/pages/Account/Settings/NotificationView.js @@ -6,8 +6,8 @@ class NotificationView extends Component { getData = () => { const Action = ( ); diff --git a/src/pages/Account/Settings/SecurityView.js b/src/pages/Account/Settings/SecurityView.js index 97cde061..4075a312 100644 --- a/src/pages/Account/Settings/SecurityView.js +++ b/src/pages/Account/Settings/SecurityView.js @@ -28,7 +28,7 @@ class SecurityView extends Component { title: formatMessage({ id: 'app.settings.security.password' }, {}), description: ( - {formatMessage({ id: 'app.settings.security.password-description' }, {})}: + {formatMessage({ id: 'app.settings.security.password-description' })}: {passwordStrength.strong} ), diff --git a/src/pages/Authorized.js b/src/pages/Authorized.js index ca61c466..676ef448 100644 --- a/src/pages/Authorized.js +++ b/src/pages/Authorized.js @@ -21,7 +21,7 @@ export default ({ children, route, location }) => { const noMatch = ( diff --git a/src/pages/Exception/403.js b/src/pages/Exception/403.js index 30c49d44..35e4ca3a 100644 --- a/src/pages/Exception/403.js +++ b/src/pages/Exception/403.js @@ -6,7 +6,7 @@ import Exception from '@/components/Exception'; const Exception403 = () => ( diff --git a/src/pages/Exception/404.js b/src/pages/Exception/404.js index edba5f90..84c986c5 100644 --- a/src/pages/Exception/404.js +++ b/src/pages/Exception/404.js @@ -6,7 +6,7 @@ import Exception from '@/components/Exception'; const Exception404 = () => ( diff --git a/src/pages/Exception/500.js b/src/pages/Exception/500.js index 15e66a85..9d96f212 100644 --- a/src/pages/Exception/500.js +++ b/src/pages/Exception/500.js @@ -6,7 +6,7 @@ import Exception from '@/components/Exception'; const Exception500 = () => ( diff --git a/src/pages/Result/Error.js b/src/pages/Result/Error.js index b5fd5abc..fba2da6d 100644 --- a/src/pages/Result/Error.js +++ b/src/pages/Result/Error.js @@ -55,8 +55,8 @@ export default () => ( (