diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2024-03-22 02:33:33 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2024-03-21 21:24:35 +0000 |
commit | 2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch) | |
tree | d919bda212744493a7b66c2e91a75455421d62cc /src/features/basicAuth | |
parent | Upgrade electron to '29.1.5' (diff) | |
download | ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.gz ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.zst ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.zip |
Upgrade node modules
Diffstat (limited to 'src/features/basicAuth')
-rw-r--r-- | src/features/basicAuth/Component.tsx | 20 | ||||
-rw-r--r-- | src/features/basicAuth/index.ts | 2 | ||||
-rw-r--r-- | src/features/basicAuth/mainIpcHandler.ts | 2 | ||||
-rw-r--r-- | src/features/basicAuth/store.ts | 2 |
4 files changed, 15 insertions, 11 deletions
diff --git a/src/features/basicAuth/Component.tsx b/src/features/basicAuth/Component.tsx index e20f7641b..7c901344d 100644 --- a/src/features/basicAuth/Component.tsx +++ b/src/features/basicAuth/Component.tsx | |||
@@ -1,17 +1,21 @@ | |||
1 | import { Component, FormEvent, ReactElement } from 'react'; | ||
2 | import injectSheet, { WithStylesProps } from 'react-jss'; | ||
3 | import { observer } from 'mobx-react'; | ||
4 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
5 | import classnames from 'classnames'; | 1 | import classnames from 'classnames'; |
6 | import { noop } from 'lodash'; | 2 | import { noop } from 'lodash'; |
3 | import { observer } from 'mobx-react'; | ||
4 | import { Component, type FormEvent, type ReactElement } from 'react'; | ||
5 | import { | ||
6 | type WrappedComponentProps, | ||
7 | defineMessages, | ||
8 | injectIntl, | ||
9 | } from 'react-intl'; | ||
10 | import injectSheet, { type WithStylesProps } from 'react-jss'; | ||
7 | import Modal from '../../components/ui/Modal'; | 11 | import Modal from '../../components/ui/Modal'; |
8 | import Input from '../../components/ui/input/index'; | ||
9 | import Button from '../../components/ui/button'; | 12 | import Button from '../../components/ui/button'; |
10 | import { state, resetState, sendCredentials, cancelLogin } from './store'; | 13 | import { H1 } from '../../components/ui/headline'; |
14 | import Input from '../../components/ui/input/index'; | ||
15 | import globalMessages from '../../i18n/globalMessages'; | ||
11 | import Form from './Form'; | 16 | import Form from './Form'; |
17 | import { cancelLogin, resetState, sendCredentials, state } from './store'; | ||
12 | import styles from './styles'; | 18 | import styles from './styles'; |
13 | import globalMessages from '../../i18n/globalMessages'; | ||
14 | import { H1 } from '../../components/ui/headline'; | ||
15 | 19 | ||
16 | const messages = defineMessages({ | 20 | const messages = defineMessages({ |
17 | signIn: { | 21 | signIn: { |
diff --git a/src/features/basicAuth/index.ts b/src/features/basicAuth/index.ts index ae698cba8..bedb57309 100644 --- a/src/features/basicAuth/index.ts +++ b/src/features/basicAuth/index.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { AuthInfo, BrowserWindow, ipcRenderer } from 'electron'; | 1 | import { type AuthInfo, type BrowserWindow, ipcRenderer } from 'electron'; |
2 | 2 | ||
3 | import { state as ModalState } from './store'; | 3 | import { state as ModalState } from './store'; |
4 | 4 | ||
diff --git a/src/features/basicAuth/mainIpcHandler.ts b/src/features/basicAuth/mainIpcHandler.ts index d9cedc974..d46657748 100644 --- a/src/features/basicAuth/mainIpcHandler.ts +++ b/src/features/basicAuth/mainIpcHandler.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { BrowserWindow } from 'electron'; | 1 | import type { BrowserWindow } from 'electron'; |
2 | 2 | ||
3 | const debug = require('../../preload-safe-debug')( | 3 | const debug = require('../../preload-safe-debug')( |
4 | 'Ferdium:feature:basicAuth:main', | 4 | 'Ferdium:feature:basicAuth:main', |
diff --git a/src/features/basicAuth/store.ts b/src/features/basicAuth/store.ts index 0fc289916..489eac087 100644 --- a/src/features/basicAuth/store.ts +++ b/src/features/basicAuth/store.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { observable } from 'mobx'; | ||
2 | import { ipcRenderer } from 'electron'; | 1 | import { ipcRenderer } from 'electron'; |
2 | import { observable } from 'mobx'; | ||
3 | 3 | ||
4 | const debug = require('../../preload-safe-debug')('Ferdium:feature:basicAuth'); | 4 | const debug = require('../../preload-safe-debug')('Ferdium:feature:basicAuth'); |
5 | 5 | ||