eslint: use semicolon TypeScript delimeter
This commit is contained in:
@ -16,7 +16,7 @@ const messages = defineMessages({
|
||||
});
|
||||
|
||||
interface IAnnouncement {
|
||||
announcement: AnnouncementEntity
|
||||
announcement: AnnouncementEntity;
|
||||
}
|
||||
|
||||
const Announcement: React.FC<IAnnouncement> = ({ announcement }) => {
|
||||
|
||||
@ -6,10 +6,10 @@ import { Text } from 'soapbox/components/ui';
|
||||
import { isNumber } from 'soapbox/utils/numbers';
|
||||
|
||||
interface IDashCounter {
|
||||
count: number | undefined
|
||||
label: React.ReactNode
|
||||
to?: string
|
||||
percent?: boolean
|
||||
count: number | undefined;
|
||||
label: React.ReactNode;
|
||||
to?: string;
|
||||
percent?: boolean;
|
||||
}
|
||||
|
||||
/** Displays a (potentially clickable) dashboard statistic. */
|
||||
@ -39,7 +39,7 @@ const DashCounter: React.FC<IDashCounter> = ({ count, label, to = '#', percent =
|
||||
};
|
||||
|
||||
interface IDashCounters {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
/** Wrapper container for dash counters. */
|
||||
|
||||
@ -16,7 +16,7 @@ const messages = defineMessages({
|
||||
});
|
||||
|
||||
interface ILatestAccountsPanel {
|
||||
limit?: number
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
const LatestAccountsPanel: React.FC<ILatestAccountsPanel> = ({ limit = 5 }) => {
|
||||
|
||||
@ -16,8 +16,8 @@ const messages = defineMessages({
|
||||
});
|
||||
|
||||
interface IReportStatus {
|
||||
status: Status
|
||||
report?: AdminReport
|
||||
status: Status;
|
||||
report?: AdminReport;
|
||||
}
|
||||
|
||||
const ReportStatus: React.FC<IReportStatus> = ({ status }) => {
|
||||
|
||||
@ -23,7 +23,7 @@ const messages = defineMessages({
|
||||
});
|
||||
|
||||
interface IReport {
|
||||
id: string
|
||||
id: string;
|
||||
}
|
||||
|
||||
const Report: React.FC<IReport> = ({ id }) => {
|
||||
|
||||
@ -7,7 +7,7 @@ import { Stack, HStack, Text } from 'soapbox/components/ui';
|
||||
import { useAppSelector, useAppDispatch } from 'soapbox/hooks';
|
||||
|
||||
interface IUnapprovedAccount {
|
||||
accountId: string
|
||||
accountId: string;
|
||||
}
|
||||
|
||||
/** Displays an unapproved account for moderation purposes. */
|
||||
|
||||
@ -67,7 +67,7 @@ const ModerationLog = () => {
|
||||
};
|
||||
|
||||
interface ILogItem {
|
||||
log: AdminLog
|
||||
log: AdminLog;
|
||||
}
|
||||
|
||||
const LogItem: React.FC<ILogItem> = ({ log }) => {
|
||||
|
||||
Reference in New Issue
Block a user