eslint: use semicolon TypeScript delimeter
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
import LinkFooter from '../features/ui/components/link-footer';
|
||||
|
||||
interface IAdminPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const AdminPage: React.FC<IAdminPage> = ({ children }) => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
|
||||
interface IChatsPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
/** Custom layout for chats on desktop. */
|
||||
|
||||
@@ -13,7 +13,7 @@ import { useAppSelector, useFeatures } from 'soapbox/hooks';
|
||||
import { Layout } from '../components/ui';
|
||||
|
||||
interface IDefaultPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const DefaultPage: React.FC<IDefaultPage> = ({ children }) => {
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import { Layout } from '../components/ui';
|
||||
|
||||
interface IEmptyPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const EmptyPage: React.FC<IEmptyPage> = ({ children }) => {
|
||||
|
||||
@@ -19,9 +19,9 @@ const getStatus = makeGetStatus();
|
||||
|
||||
interface IEventPage {
|
||||
params?: {
|
||||
statusId?: string
|
||||
}
|
||||
children: React.ReactNode
|
||||
statusId?: string;
|
||||
};
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const EventPage: React.FC<IEventPage> = ({ params, children }) => {
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
import { useFeatures } from 'soapbox/hooks';
|
||||
|
||||
interface IEventsPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
/** Page to display events list. */
|
||||
|
||||
@@ -27,9 +27,9 @@ const messages = defineMessages({
|
||||
|
||||
interface IGroupPage {
|
||||
params?: {
|
||||
groupId?: string
|
||||
}
|
||||
children: React.ReactNode
|
||||
groupId?: string;
|
||||
};
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const DeletedBlankslate = () => (
|
||||
|
||||
@@ -7,7 +7,7 @@ import BundleContainer from 'soapbox/features/ui/containers/bundle-container';
|
||||
import { MyGroupsPanel, NewGroupPanel, SuggestedGroupsPanel } from 'soapbox/features/ui/util/async-components';
|
||||
|
||||
interface IGroupsPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
/** Page to display groups. */
|
||||
|
||||
@@ -6,7 +6,7 @@ import BundleContainer from 'soapbox/features/ui/containers/bundle-container';
|
||||
import { NewGroupPanel, SuggestedGroupsPanel } from 'soapbox/features/ui/util/async-components';
|
||||
|
||||
interface IGroupsPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
/** Page to display groups. */
|
||||
|
||||
@@ -23,7 +23,7 @@ import ComposeForm from '../features/compose/components/compose-form';
|
||||
import BundleContainer from '../features/ui/containers/bundle-container';
|
||||
|
||||
interface IHomePage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const HomePage: React.FC<IHomePage> = ({ children }) => {
|
||||
|
||||
@@ -12,7 +12,7 @@ import { Layout } from '../components/ui';
|
||||
import BundleContainer from '../features/ui/containers/bundle-container';
|
||||
|
||||
interface ILandingPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const LandingPage: React.FC<ILandingPage> = ({ children }) => {
|
||||
|
||||
@@ -6,7 +6,7 @@ import BundleContainer from 'soapbox/features/ui/containers/bundle-container';
|
||||
import { MyGroupsPanel, NewGroupPanel } from 'soapbox/features/ui/util/async-components';
|
||||
|
||||
interface IGroupsPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
/** Page to display groups. */
|
||||
|
||||
@@ -22,9 +22,9 @@ import { getAcct, isLocal } from 'soapbox/utils/accounts';
|
||||
|
||||
interface IProfilePage {
|
||||
params?: {
|
||||
username?: string
|
||||
}
|
||||
children: React.ReactNode
|
||||
username?: string;
|
||||
};
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
/** Page to display a user's profile. */
|
||||
|
||||
@@ -14,9 +14,9 @@ import { Layout } from '../components/ui';
|
||||
|
||||
interface IRemoteInstancePage {
|
||||
params?: {
|
||||
instance?: string
|
||||
}
|
||||
children: React.ReactNode
|
||||
instance?: string;
|
||||
};
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
/** Page for viewing a remote instance timeline. */
|
||||
|
||||
@@ -14,7 +14,7 @@ import { useAppSelector, useFeatures } from 'soapbox/hooks';
|
||||
import { Layout } from '../components/ui';
|
||||
|
||||
interface ISearchPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const SearchPage: React.FC<ISearchPage> = ({ children }) => {
|
||||
|
||||
@@ -13,7 +13,7 @@ import { Layout } from '../components/ui';
|
||||
import BundleContainer from '../features/ui/containers/bundle-container';
|
||||
|
||||
interface IStatusPage {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const StatusPage: React.FC<IStatusPage> = ({ children }) => {
|
||||
|
||||
Reference in New Issue
Block a user