aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/AuthLayout.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/auth/AuthLayout.js')
-rw-r--r--src/components/auth/AuthLayout.js4
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 @@
1import React, { Component } from 'react'; 1import { cloneElement, Component } from 'react';
2import PropTypes from 'prop-types'; 2import PropTypes from 'prop-types';
3import { observer } from 'mobx-react'; 3import { observer } from 'mobx-react';
4import { TitleBar } from 'electron-react-titlebar/renderer'; 4import { 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>