Skip to content

Commit c58e217

Browse files
committed
frontend: fix stylistic/indent rules by make webfix
1 parent 2979ebc commit c58e217

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+193
-193
lines changed

frontends/web/src/components/aopp/verifyaddress.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import { Button } from '@/components/forms';
2121
import { WaitDialog } from '@/components/wait-dialog/wait-dialog';
2222

2323
type TProps = {
24-
accountCode: accountAPI.AccountCode;
25-
address: string;
26-
addressID: string;
24+
accountCode: accountAPI.AccountCode;
25+
address: string;
26+
addressID: string;
2727
}
2828

2929
export const VerifyAddress = ({ accountCode, address, addressID }: TProps) => {

frontends/web/src/components/bluetooth/connection-issues-dialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import { A } from '@/components/anchor/anchor';
2020
import styles from './connection-issues-dialog.module.css';
2121

2222
type Props = {
23-
dialogOpen: boolean
24-
onClose: () => void
23+
dialogOpen: boolean
24+
onClose: () => void
2525
}
2626
export const ConnectionIssuesDialog = ({ dialogOpen, onClose }: Props) => {
2727
const { t } = useTranslation();

frontends/web/src/components/contentwrapper/contentwrapper.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import { ReactNode } from 'react';
1818
import style from './contentwrapper.module.css';
1919

2020
type TProps = {
21-
className?: string
22-
children: ReactNode
23-
}
21+
className?: string
22+
children: ReactNode
23+
}
2424

2525
export const ContentWrapper = (({ className = '', children }: TProps) => {
2626
return (

frontends/web/src/components/copy/Copy.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ import { Check, Copy } from '@/components/icon/icon';
2121
import style from './Copy.module.css';
2222

2323
type TProps = {
24-
alignLeft?: boolean;
25-
alignRight?: boolean;
26-
borderLess?: boolean;
27-
className?: string;
28-
disabled?: boolean;
29-
flexibleHeight?: boolean;
30-
value: string;
24+
alignLeft?: boolean;
25+
alignRight?: boolean;
26+
borderLess?: boolean;
27+
className?: string;
28+
disabled?: boolean;
29+
flexibleHeight?: boolean;
30+
value: string;
3131
}
3232

3333
export const CopyableInput = ({ alignLeft, alignRight, borderLess, value, className, disabled, flexibleHeight }: TProps) => {

frontends/web/src/components/forms/checkbox.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import { FunctionComponent } from 'react';
1919
import styles from './checkbox.module.css';
2020

2121
type CheckboxProps = JSX.IntrinsicElements['input'] & {
22-
label?: string;
23-
id: string;
24-
checkboxStyle?: 'default' | 'info' | 'warning' | 'success';
22+
label?: string;
23+
id: string;
24+
checkboxStyle?: 'default' | 'info' | 'warning' | 'success';
2525
}
2626

2727
export const Checkbox: FunctionComponent<CheckboxProps> = ({

frontends/web/src/components/forms/input.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ import { ChangeEvent, HTMLProps, forwardRef } from 'react';
1919
import styles from './input.module.css';
2020

2121
export type TInputProps = {
22-
align?: 'left' | 'right';
23-
children?: React.ReactNode;
24-
className?: string;
25-
error?: string | object;
26-
onInput?: (e: ChangeEvent<HTMLInputElement>) => void;
27-
transparent?: boolean;
28-
labelSection?: JSX.Element | undefined;
29-
label?: string;
22+
align?: 'left' | 'right';
23+
children?: React.ReactNode;
24+
className?: string;
25+
error?: string | object;
26+
onInput?: (e: ChangeEvent<HTMLInputElement>) => void;
27+
transparent?: boolean;
28+
labelSection?: JSX.Element | undefined;
29+
label?: string;
3030
} & Omit<HTMLProps<HTMLInputElement>, 'onInput'>
3131

3232
export const Input = forwardRef<HTMLInputElement, TInputProps>(({

frontends/web/src/components/guide/entry.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ import { A } from '@/components/anchor/anchor';
2020
import style from './guide.module.css';
2121

2222
export type TEntryProp = {
23-
title: string;
23+
title: string;
24+
text: string;
25+
link?: {
26+
url?: string;
2427
text: string;
25-
link?: {
26-
url?: string;
27-
text: string;
28-
};
28+
};
2929
}
3030

3131
type TEntryProps = {
32-
entry: TEntryProp;
33-
shown?: boolean;
34-
children?: ReactNode;
32+
entry: TEntryProp;
33+
shown?: boolean;
34+
children?: ReactNode;
3535
}
3636

3737
type TProps = TEntryProps;

frontends/web/src/components/guide/guide.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import style from './guide.module.css';
2525

2626

2727
export type TProps = {
28-
children?: ReactNode;
29-
title?: string
28+
children?: ReactNode;
29+
title?: string
3030
}
3131

3232
const Guide = ({ children, title = t('guide.title') }: TProps) => {

frontends/web/src/components/headerssync/headerssync.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { AsciiSpinner } from '@/components/spinner/ascii';
2525
import style from './headerssync.module.css';
2626

2727
export type TProps = {
28-
coinCode: CoinCode;
28+
coinCode: CoinCode;
2929
}
3030

3131
export const HeadersSync = ({ coinCode }: TProps) => {

frontends/web/src/components/language/language.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import style from './language.module.css';
2323
import { getSelectedIndex } from '@/utils/language';
2424

2525
type TLanguageSwitchProps = {
26-
languages?: TLanguagesList;
26+
languages?: TLanguagesList;
2727
}
2828

2929
const LanguageSwitch = ({ languages }: TLanguageSwitchProps) => {

0 commit comments

Comments
 (0)