diff options
Diffstat (limited to 'src/components/auth')
-rw-r--r-- | src/components/auth/Locked.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/auth/Locked.js b/src/components/auth/Locked.js index c5e8a5aad..1fdbea595 100644 --- a/src/components/auth/Locked.js +++ b/src/components/auth/Locked.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import { remote } from 'electron'; | 1 | import { systemPreferences } from '@electron/remote'; |
2 | import React, { Component } from 'react'; | 2 | import React, { Component } from 'react'; |
3 | import PropTypes from 'prop-types'; | 3 | import PropTypes from 'prop-types'; |
4 | import { observer } from 'mobx-react'; | 4 | import { observer } from 'mobx-react'; |
@@ -12,10 +12,6 @@ import { isMac } from '../../environment'; | |||
12 | 12 | ||
13 | import { globalError as globalErrorPropType } from '../../prop-types'; | 13 | import { globalError as globalErrorPropType } from '../../prop-types'; |
14 | 14 | ||
15 | const { | ||
16 | systemPreferences, | ||
17 | } = remote; | ||
18 | |||
19 | const messages = defineMessages({ | 15 | const messages = defineMessages({ |
20 | headline: { | 16 | headline: { |
21 | id: 'locked.headline', | 17 | id: 'locked.headline', |