eslint: use semicolon TypeScript delimeter
This commit is contained in:
@@ -11,9 +11,9 @@ import { getTitle } from '../utils/coin-db';
|
||||
import CryptoIcon from './crypto-icon';
|
||||
|
||||
export interface ICryptoAddress {
|
||||
address: string
|
||||
ticker: string
|
||||
note?: string
|
||||
address: string;
|
||||
ticker: string;
|
||||
note?: string;
|
||||
}
|
||||
|
||||
const CryptoAddress: React.FC<ICryptoAddress> = (props): JSX.Element => {
|
||||
|
||||
@@ -12,7 +12,7 @@ const messages = defineMessages({
|
||||
});
|
||||
|
||||
interface ICryptoDonatePanel {
|
||||
limit: number
|
||||
limit: number;
|
||||
}
|
||||
|
||||
const CryptoDonatePanel: React.FC<ICryptoDonatePanel> = ({ limit = 3 }): JSX.Element | null => {
|
||||
|
||||
@@ -9,9 +9,9 @@ const getIcon = (ticker: string): string => {
|
||||
};
|
||||
|
||||
interface ICryptoIcon {
|
||||
ticker: string
|
||||
title?: string
|
||||
className?: string
|
||||
ticker: string;
|
||||
title?: string;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const CryptoIcon: React.FC<ICryptoIcon> = ({ ticker, title, className }): JSX.Element => {
|
||||
|
||||
@@ -10,9 +10,9 @@ import { getTitle } from '../utils/coin-db';
|
||||
import CryptoIcon from './crypto-icon';
|
||||
|
||||
interface IDetailedCryptoAddress {
|
||||
address: string
|
||||
ticker: string
|
||||
note?: string
|
||||
address: string;
|
||||
ticker: string;
|
||||
note?: string;
|
||||
}
|
||||
|
||||
const DetailedCryptoAddress: React.FC<IDetailedCryptoAddress> = ({ address, ticker, note }): JSX.Element => {
|
||||
|
||||
@@ -6,7 +6,7 @@ import { useSoapboxConfig } from 'soapbox/hooks';
|
||||
import CryptoAddress from './crypto-address';
|
||||
|
||||
interface ISiteWallet {
|
||||
limit?: number
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
const SiteWallet: React.FC<ISiteWallet> = ({ limit }): JSX.Element => {
|
||||
|
||||
Reference in New Issue
Block a user