diff --git a/src/layouts/PageHeaderLayout.js b/src/layouts/PageHeaderLayout.js index 5c48c16df42bb81c7059d1c08da930ea1a0f7d29..20438ddddd19bb626e6ea699a522c07b6490d0bc 100644 --- a/src/layouts/PageHeaderLayout.js +++ b/src/layouts/PageHeaderLayout.js @@ -5,7 +5,7 @@ import GridContent from './GridContent'; import styles from './PageHeaderLayout.less'; import MenuContext from './MeunContext'; -export default ({ children, wrapperClassName, top, ...restProps }) => ( +const PageHeaderLayout = ({ children, wrapperClassName, top, ...restProps }) => (
{top} @@ -20,3 +20,5 @@ export default ({ children, wrapperClassName, top, ...restProps }) => ( ) : null}
); + +export default PageHeaderLayout; diff --git a/src/routes/User/RegisterResult.js b/src/routes/User/RegisterResult.js index 9c9bbe5f939d5af1fe1913a5bd71ab1e4f1a7500..5eb6cb7295ba437bac93b406beee4a9201dbdff0 100644 --- a/src/routes/User/RegisterResult.js +++ b/src/routes/User/RegisterResult.js @@ -17,7 +17,7 @@ const actions = ( ); -export default ({ location }) => ( +const RegisterResult = ({ location }) => ( ( style={{ marginTop: 56 }} /> ); + +export default RegisterResult;