mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
apply eslint and prettier rules
This commit is contained in:
@@ -59,13 +59,7 @@ class InfoBox extends React.Component<Props> {
|
||||
<div className="box media">
|
||||
<figure className="media-left">
|
||||
<FixedSizedIconWrapper
|
||||
className={classNames(
|
||||
"image",
|
||||
"box",
|
||||
"has-text-weight-bold",
|
||||
"has-text-white",
|
||||
"has-background-info"
|
||||
)}
|
||||
className={classNames("image", "box", "has-text-weight-bold", "has-text-white", "has-background-info")}
|
||||
>
|
||||
<LightBlueIcon className="fa-2x" name={icon} color="inherit" />
|
||||
<div className="is-size-4">{t("login." + type)}</div>
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
import React from "react";
|
||||
import { translate } from "react-i18next";
|
||||
import styled from "styled-components";
|
||||
import {
|
||||
Image,
|
||||
ErrorNotification,
|
||||
InputField,
|
||||
SubmitButton,
|
||||
UnauthorizedError
|
||||
} from "@scm-manager/ui-components";
|
||||
import { Image, ErrorNotification, InputField, SubmitButton, UnauthorizedError } from "@scm-manager/ui-components";
|
||||
|
||||
type Props = {
|
||||
error?: Error;
|
||||
@@ -104,11 +98,7 @@ class LoginForm extends React.Component<Props, State> {
|
||||
type="password"
|
||||
onChange={this.handlePasswordChange}
|
||||
/>
|
||||
<SubmitButton
|
||||
label={t("login.submit")}
|
||||
fullWidth={true}
|
||||
loading={loading}
|
||||
/>
|
||||
<SubmitButton label={t("login.submit")} fullWidth={true} loading={loading} />
|
||||
</form>
|
||||
</TopMarginBox>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user