diff options
Diffstat (limited to 'src/components/auth/AuthLayout.js')
-rw-r--r-- | src/components/auth/AuthLayout.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/auth/AuthLayout.js b/src/components/auth/AuthLayout.js index 17ac221a2..00eded728 100644 --- a/src/components/auth/AuthLayout.js +++ b/src/components/auth/AuthLayout.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import React, { Component } from 'react'; | 1 | import { cloneElement, Component } from 'react'; |
2 | import PropTypes from 'prop-types'; | 2 | import PropTypes from 'prop-types'; |
3 | import { observer } from 'mobx-react'; | 3 | import { observer } from 'mobx-react'; |
4 | import { TitleBar } from 'electron-react-titlebar/renderer'; | 4 | import { TitleBar } from 'electron-react-titlebar/renderer'; |
@@ -87,7 +87,7 @@ class AuthLayout extends Component { | |||
87 | )} | 87 | )} |
88 | <div className="auth__layout"> | 88 | <div className="auth__layout"> |
89 | {/* Inject globalError into children */} | 89 | {/* Inject globalError into children */} |
90 | {React.cloneElement(children, { | 90 | {cloneElement(children, { |
91 | error, | 91 | error, |
92 | })} | 92 | })} |
93 | </div> | 93 | </div> |