diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-10-26 23:45:39 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-10-26 23:45:39 +0530 |
commit | ba187b17c4927c83b35e872a56c503d5aa1dcbf2 (patch) | |
tree | df9fffd86d1d0b24c2e1fbb1ddd3b4d4c7e60568 /src/components | |
parent | chore: replace 'electron-notarize' with '@electron/notarize' (#711) (diff) | |
download | ferdium-app-ba187b17c4927c83b35e872a56c503d5aa1dcbf2.tar.gz ferdium-app-ba187b17c4927c83b35e872a56c503d5aa1dcbf2.tar.zst ferdium-app-ba187b17c4927c83b35e872a56c503d5aa1dcbf2.zip |
Lint fixes and recipes update to bring in same node version as the parent repo
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/account/AccountDashboard.tsx | 5 | ||||
-rw-r--r-- | src/components/ui/Loader.tsx | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/components/settings/account/AccountDashboard.tsx b/src/components/settings/account/AccountDashboard.tsx index 8d6cfdfe6..b0debdaf2 100644 --- a/src/components/settings/account/AccountDashboard.tsx +++ b/src/components/settings/account/AccountDashboard.tsx | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Component } from 'react'; | 1 | import { Component } from 'react'; |
2 | import { observer } from 'mobx-react'; | 2 | import { observer } from 'mobx-react'; |
3 | import {defineMessages, injectIntl, WrappedComponentProps} from 'react-intl'; | 3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; |
4 | import ReactTooltip from 'react-tooltip'; | 4 | import ReactTooltip from 'react-tooltip'; |
5 | import { H1, H2 } from '../../ui/headline'; | 5 | import { H1, H2 } from '../../ui/headline'; |
6 | 6 | ||
@@ -8,7 +8,7 @@ import Loader from '../../ui/Loader'; | |||
8 | import Button from '../../ui/button'; | 8 | import Button from '../../ui/button'; |
9 | import Infobox from '../../ui/infobox'; | 9 | import Infobox from '../../ui/infobox'; |
10 | import { LOCAL_SERVER, LIVE_FRANZ_API } from '../../../config'; | 10 | import { LOCAL_SERVER, LIVE_FRANZ_API } from '../../../config'; |
11 | import User from "../../../models/User"; | 11 | import User from '../../../models/User'; |
12 | 12 | ||
13 | const messages = defineMessages({ | 13 | const messages = defineMessages({ |
14 | headline: { | 14 | headline: { |
@@ -79,7 +79,6 @@ interface IProp extends WrappedComponentProps { | |||
79 | 79 | ||
80 | @observer | 80 | @observer |
81 | class AccountDashboard extends Component<IProp> { | 81 | class AccountDashboard extends Component<IProp> { |
82 | |||
83 | render() { | 82 | render() { |
84 | const { | 83 | const { |
85 | user, | 84 | user, |
diff --git a/src/components/ui/Loader.tsx b/src/components/ui/Loader.tsx index ae51f8145..5e78ed47a 100644 --- a/src/components/ui/Loader.tsx +++ b/src/components/ui/Loader.tsx | |||
@@ -1,4 +1,4 @@ | |||
1 | import {Component, PropsWithChildren} from 'react'; | 1 | import { Component, PropsWithChildren } from 'react'; |
2 | import { observer, inject } from 'mobx-react'; | 2 | import { observer, inject } from 'mobx-react'; |
3 | import Loader from 'react-loader'; | 3 | import Loader from 'react-loader'; |
4 | 4 | ||
@@ -12,7 +12,7 @@ interface IProps { | |||
12 | } | 12 | } |
13 | 13 | ||
14 | // Can this file be merged into the './loader/index.tsx' file? | 14 | // Can this file be merged into the './loader/index.tsx' file? |
15 | @inject("stores") | 15 | @inject('stores') |
16 | @observer | 16 | @observer |
17 | class LoaderComponent extends Component<PropsWithChildren<IProps>> { | 17 | class LoaderComponent extends Component<PropsWithChildren<IProps>> { |
18 | static defaultProps = { | 18 | static defaultProps = { |