diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-07 08:03:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 08:03:45 +0200 |
commit | 31f8ada876b3aec45ffffcf82079eaacb69349fc (patch) | |
tree | 9f5752b7bbc42c9b5b3c2b02517732b3a2e5b868 /src/components/auth/AuthLayout.js | |
parent | chore: simplify babel configuration (#2029) (diff) | |
download | ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.tar.gz ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.tar.zst ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.zip |
chore: upgrade react to latest (#2030)
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> |