diff options
author | kytwb <kytwb@pm.me> | 2021-12-13 04:27:07 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-13 04:27:07 +0100 |
commit | 18ba22625f36d96d2fc0ae7db9f01f0e2c06c331 (patch) | |
tree | aec500283b8d3068cd448445748cfac760e22913 /src/components/auth | |
parent | Gracefully handle edge case showing both hibernating and loading state (diff) | |
download | ferdium-app-18ba22625f36d96d2fc0ae7db9f01f0e2c06c331.tar.gz ferdium-app-18ba22625f36d96d2fc0ae7db9f01f0e2c06c331.tar.zst ferdium-app-18ba22625f36d96d2fc0ae7db9f01f0e2c06c331.zip |
Fix linting
Diffstat (limited to 'src/components/auth')
-rw-r--r-- | src/components/auth/Login.js | 3 | ||||
-rw-r--r-- | src/components/auth/Signup.js | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js index cce2b4fa7..684b2f6f3 100644 --- a/src/components/auth/Login.js +++ b/src/components/auth/Login.js | |||
@@ -5,14 +5,13 @@ import { observer, inject } from 'mobx-react'; | |||
5 | import { defineMessages, injectIntl } from 'react-intl'; | 5 | import { defineMessages, injectIntl } from 'react-intl'; |
6 | 6 | ||
7 | import { LIVE_FRANZ_API } from '../../config'; | 7 | import { LIVE_FRANZ_API } from '../../config'; |
8 | import { API_VERSION, isDevMode, useLiveAPI } from '../../environment-remote'; | 8 | import { API_VERSION } from '../../environment-remote'; |
9 | import Form from '../../lib/Form'; | 9 | import Form from '../../lib/Form'; |
10 | import { required, email } from '../../helpers/validation-helpers'; | 10 | import { required, email } from '../../helpers/validation-helpers'; |
11 | import serverlessLogin from '../../helpers/serverless-helpers'; | 11 | import serverlessLogin from '../../helpers/serverless-helpers'; |
12 | import Input from '../ui/Input'; | 12 | import Input from '../ui/Input'; |
13 | import Button from '../ui/Button'; | 13 | import Button from '../ui/Button'; |
14 | import Link from '../ui/Link'; | 14 | import Link from '../ui/Link'; |
15 | import Infobox from '../ui/Infobox'; | ||
16 | 15 | ||
17 | import { globalError as globalErrorPropType } from '../../prop-types'; | 16 | import { globalError as globalErrorPropType } from '../../prop-types'; |
18 | 17 | ||
diff --git a/src/components/auth/Signup.js b/src/components/auth/Signup.js index 5f879fb01..6526264e0 100644 --- a/src/components/auth/Signup.js +++ b/src/components/auth/Signup.js | |||
@@ -4,14 +4,12 @@ import PropTypes from 'prop-types'; | |||
4 | import { observer, inject } from 'mobx-react'; | 4 | import { observer, inject } from 'mobx-react'; |
5 | import { defineMessages, injectIntl } from 'react-intl'; | 5 | import { defineMessages, injectIntl } from 'react-intl'; |
6 | 6 | ||
7 | import { isDevMode, useLiveAPI } from '../../environment-remote'; | ||
8 | import Form from '../../lib/Form'; | 7 | import Form from '../../lib/Form'; |
9 | import { required, email, minLength } from '../../helpers/validation-helpers'; | 8 | import { required, email, minLength } from '../../helpers/validation-helpers'; |
10 | import serverlessLogin from '../../helpers/serverless-helpers'; | 9 | import serverlessLogin from '../../helpers/serverless-helpers'; |
11 | import Input from '../ui/Input'; | 10 | import Input from '../ui/Input'; |
12 | import Button from '../ui/Button'; | 11 | import Button from '../ui/Button'; |
13 | import Link from '../ui/Link'; | 12 | import Link from '../ui/Link'; |
14 | import Infobox from '../ui/Infobox'; | ||
15 | 13 | ||
16 | import { globalError as globalErrorPropType } from '../../prop-types'; | 14 | import { globalError as globalErrorPropType } from '../../prop-types'; |
17 | import { termsBase } from '../../api/apiBase'; | 15 | import { termsBase } from '../../api/apiBase'; |