diff options
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/navigation/SettingsNavigation.tsx | 6 | ||||
-rw-r--r-- | src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/components/settings/navigation/SettingsNavigation.tsx b/src/components/settings/navigation/SettingsNavigation.tsx index 6ffaa411f..66763c6a6 100644 --- a/src/components/settings/navigation/SettingsNavigation.tsx +++ b/src/components/settings/navigation/SettingsNavigation.tsx | |||
@@ -53,10 +53,6 @@ interface IProps extends Partial<StoresProps>, WrappedComponentProps { | |||
53 | @inject('stores', 'actions') | 53 | @inject('stores', 'actions') |
54 | @observer | 54 | @observer |
55 | class SettingsNavigation extends Component<IProps> { | 55 | class SettingsNavigation extends Component<IProps> { |
56 | constructor(props: IProps) { | ||
57 | super(props); | ||
58 | } | ||
59 | |||
60 | handleLogout(): void { | 56 | handleLogout(): void { |
61 | const isUsingWithoutAccount = | 57 | const isUsingWithoutAccount = |
62 | this.props.stores!.settings.app.server === LOCAL_SERVER; | 58 | this.props.stores!.settings.app.server === LOCAL_SERVER; |
@@ -186,7 +182,7 @@ class SettingsNavigation extends Component<IProps> { | |||
186 | <span className="settings-navigation__expander" /> | 182 | <span className="settings-navigation__expander" /> |
187 | <button | 183 | <button |
188 | type="button" | 184 | type="button" |
189 | // @ts-ignore | 185 | // @ts-expect-error Fix me |
190 | to="/auth/logout" // TODO: [TS DEBT] Need to check if button take this prop | 186 | to="/auth/logout" // TODO: [TS DEBT] Need to check if button take this prop |
191 | className="settings-navigation__link" | 187 | className="settings-navigation__link" |
192 | onClick={this.handleLogout.bind(this)} | 188 | onClick={this.handleLogout.bind(this)} |
diff --git a/src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx b/src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx index f3b7c718c..065690fb5 100644 --- a/src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx +++ b/src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx | |||
@@ -50,7 +50,7 @@ const SupportFerdiumDashboard = () => { | |||
50 | src="https://img.shields.io/github/stars/ferdium/ferdium-app?style=social" | 50 | src="https://img.shields.io/github/stars/ferdium/ferdium-app?style=social" |
51 | /> | 51 | /> |
52 | </a> | 52 | </a> |
53 | <a target="_blank" href={FERDIUM_TRANSLATION}> | 53 | <a target="_blank" href={FERDIUM_TRANSLATION} rel="noreferrer"> |
54 | <img | 54 | <img |
55 | src="https://badges.crowdin.net/ferdium-app/localized.svg" | 55 | src="https://badges.crowdin.net/ferdium-app/localized.svg" |
56 | alt="Crowdin" | 56 | alt="Crowdin" |