Delete blank empty lines at the top of source code files
This commit is contained in:
parent
02f76b7c6b
commit
013582e9e4
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { fetchRelationships } from 'soapbox/actions/accounts';
|
import { fetchRelationships } from 'soapbox/actions/accounts';
|
||||||
import { importFetchedAccount, importFetchedAccounts, importFetchedStatuses } from 'soapbox/actions/importer';
|
import { importFetchedAccount, importFetchedAccounts, importFetchedStatuses } from 'soapbox/actions/importer';
|
||||||
import { accountIdsToAccts } from 'soapbox/selectors';
|
import { accountIdsToAccts } from 'soapbox/selectors';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
// Accounts
|
// Accounts
|
||||||
export { useAccount } from './accounts/useAccount';
|
export { useAccount } from './accounts/useAccount';
|
||||||
export { useAccountLookup } from './accounts/useAccountLookup';
|
export { useAccountLookup } from './accounts/useAccountLookup';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
interface IInlineSVG {
|
interface IInlineSVG {
|
||||||
loader?: JSX.Element;
|
loader?: JSX.Element;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import unicodeMapping from 'soapbox/features/emoji/mapping';
|
import unicodeMapping from 'soapbox/features/emoji/mapping';
|
||||||
import { useSettings } from 'soapbox/hooks';
|
import { useSettings } from 'soapbox/hooks';
|
||||||
import { joinPublicPath } from 'soapbox/utils/static';
|
import { joinPublicPath } from 'soapbox/utils/static';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { isCustomEmoji } from 'soapbox/features/emoji';
|
import { isCustomEmoji } from 'soapbox/features/emoji';
|
||||||
import unicodeMapping from 'soapbox/features/emoji/mapping';
|
import unicodeMapping from 'soapbox/features/emoji/mapping';
|
||||||
import { joinPublicPath } from 'soapbox/utils/static';
|
import { joinPublicPath } from 'soapbox/utils/static';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { useSoapboxConfig } from 'soapbox/hooks';
|
import { useSoapboxConfig } from 'soapbox/hooks';
|
||||||
|
|
||||||
import { getAcct } from '../utils/accounts';
|
import { getAcct } from '../utils/accounts';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import HoverRefWrapper from 'soapbox/components/hover-ref-wrapper';
|
import HoverRefWrapper from 'soapbox/components/hover-ref-wrapper';
|
||||||
import { useSoapboxConfig } from 'soapbox/hooks';
|
import { useSoapboxConfig } from 'soapbox/hooks';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import Emoji from 'soapbox/components/ui/emoji/emoji';
|
import Emoji from 'soapbox/components/ui/emoji/emoji';
|
||||||
|
|
||||||
interface IEmojiGraphic {
|
interface IEmojiGraphic {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import GroupHeaderImage from 'soapbox/features/group/components/group-header-image';
|
import GroupHeaderImage from 'soapbox/features/group/components/group-header-image';
|
||||||
import GroupMemberCount from 'soapbox/features/group/components/group-member-count';
|
import GroupMemberCount from 'soapbox/features/group/components/group-member-count';
|
||||||
import GroupPrivacy from 'soapbox/features/group/components/group-privacy';
|
import GroupPrivacy from 'soapbox/features/group/components/group-privacy';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import Link from './link';
|
import Link from './link';
|
||||||
|
|
||||||
interface IHashtagLink {
|
interface IHashtagLink {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import Icon, { IIcon } from 'soapbox/components/icon';
|
import Icon, { IIcon } from 'soapbox/components/icon';
|
||||||
import { Counter } from 'soapbox/components/ui';
|
import { Counter } from 'soapbox/components/ui';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
/** Fullscreen gradient used as a backdrop to public pages. */
|
/** Fullscreen gradient used as a backdrop to public pages. */
|
||||||
const LandingGradient: React.FC = () => (
|
const LandingGradient: React.FC = () => (
|
||||||
<div className='fixed h-screen w-full bg-gradient-to-tr from-primary-50 via-white to-gradient-end/10 black:hidden dark:from-primary-900/50 dark:via-primary-900 dark:to-primary-800/50' />
|
<div className='fixed h-screen w-full bg-gradient-to-tr from-primary-50 via-white to-gradient-end/10 black:hidden dark:from-primary-900/50 dark:via-primary-900 dark:to-primary-800/50' />
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import LandingGradient from 'soapbox/components/landing-gradient';
|
import LandingGradient from 'soapbox/components/landing-gradient';
|
||||||
import { Spinner } from 'soapbox/components/ui';
|
import { Spinner } from 'soapbox/components/ui';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { IntlProvider } from 'react-intl';
|
import { IntlProvider } from 'react-intl';
|
||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import PullToRefresh from './pull-to-refresh';
|
import PullToRefresh from './pull-to-refresh';
|
||||||
|
|
||||||
interface IPullable {
|
interface IPullable {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Children, cloneElement } from 'react';
|
import { Children, cloneElement } from 'react';
|
||||||
|
|
||||||
import List, { ListItem } from './list';
|
import List, { ListItem } from './list';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { defineMessages } from 'react-intl';
|
import { defineMessages } from 'react-intl';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Map as ImmutableMap } from 'immutable';
|
import { Map as ImmutableMap } from 'immutable';
|
||||||
import { beforeEach, describe, expect, it } from 'vitest';
|
import { beforeEach, describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { HStack, Text } from '../ui';
|
import { HStack, Text } from '../ui';
|
||||||
|
|
||||||
interface IStatusInfo {
|
interface IStatusInfo {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { shortNumberFormat } from 'soapbox/utils/numbers';
|
import { shortNumberFormat } from 'soapbox/utils/numbers';
|
||||||
|
|
||||||
interface ICounter {
|
interface ICounter {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { describe, expect, it, vi } from 'vitest';
|
import { describe, expect, it, vi } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import Input from '../input/input';
|
import Input from '../input/input';
|
||||||
|
|
||||||
interface DatetimeProps {
|
interface DatetimeProps {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import Text from '../text/text';
|
import Text from '../text/text';
|
||||||
|
|
||||||
import type { Sizes as TextSizes } from '../text/text';
|
import type { Sizes as TextSizes } from '../text/text';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { removeVS16s, toCodePoints } from 'soapbox/utils/emoji';
|
import { removeVS16s, toCodePoints } from 'soapbox/utils/emoji';
|
||||||
import { joinPublicPath } from 'soapbox/utils/static';
|
import { joinPublicPath } from 'soapbox/utils/static';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import HStack from '../hstack/hstack';
|
import HStack from '../hstack/hstack';
|
||||||
|
|
||||||
interface IFormActions {
|
interface IFormActions {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import Counter from '../counter/counter';
|
import Counter from '../counter/counter';
|
||||||
|
|
||||||
import SvgIcon from './svg-icon';
|
import SvgIcon from './svg-icon';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import IconCode from '@tabler/icons/outline/code.svg';
|
import IconCode from '@tabler/icons/outline/code.svg';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { describe, expect, it, vi } from 'vitest';
|
import { describe, expect, it, vi } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { useAccount } from 'soapbox/api/hooks';
|
import { useAccount } from 'soapbox/api/hooks';
|
||||||
import Account, { IAccount } from 'soapbox/components/account';
|
import Account, { IAccount } from 'soapbox/components/account';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { approveUser, rejectUser } from 'soapbox/actions/admin';
|
import { approveUser, rejectUser } from 'soapbox/actions/admin';
|
||||||
import { useAccount } from 'soapbox/api/hooks';
|
import { useAccount } from 'soapbox/api/hooks';
|
||||||
import Account from 'soapbox/components/account';
|
import Account from 'soapbox/components/account';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Map as ImmutableMap } from 'immutable';
|
import { Map as ImmutableMap } from 'immutable';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Route, Switch } from 'react-router-dom';
|
import { Route, Switch } from 'react-router-dom';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { VirtuosoMockContext } from 'react-virtuoso';
|
import { VirtuosoMockContext } from 'react-virtuoso';
|
||||||
import { beforeEach, describe, expect, it } from 'vitest';
|
import { beforeEach, describe, expect, it } from 'vitest';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { describe, expect, it, vi } from 'vitest';
|
import { describe, expect, it, vi } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { describe, expect, it, vi } from 'vitest';
|
import { describe, expect, it, vi } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { VirtuosoMockContext } from 'react-virtuoso';
|
import { VirtuosoMockContext } from 'react-virtuoso';
|
||||||
import { beforeEach, describe, expect, it } from 'vitest';
|
import { beforeEach, describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { ProgressBar } from 'soapbox/components/ui';
|
import { ProgressBar } from 'soapbox/components/ui';
|
||||||
|
|
||||||
interface IChatPendingUpload {
|
interface IChatPendingUpload {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { VirtuosoMockContext } from 'react-virtuoso';
|
import { VirtuosoMockContext } from 'react-virtuoso';
|
||||||
import { beforeEach, describe, expect, it } from 'vitest';
|
import { beforeEach, describe, expect, it } from 'vitest';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Route, Switch } from 'react-router-dom';
|
import { Route, Switch } from 'react-router-dom';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { ChatProvider } from 'soapbox/contexts/chat-context';
|
import { ChatProvider } from 'soapbox/contexts/chat-context';
|
||||||
|
|
||||||
import ChatPage from './components/chat-page/chat-page';
|
import ChatPage from './components/chat-page/chat-page';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { useAccount } from 'soapbox/api/hooks';
|
import { useAccount } from 'soapbox/api/hooks';
|
||||||
import Account from 'soapbox/components/account';
|
import Account from 'soapbox/components/account';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { describe, expect, it, vi } from 'vitest';
|
import { describe, expect, it, vi } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import UploadProgress from 'soapbox/components/upload-progress';
|
import UploadProgress from 'soapbox/components/upload-progress';
|
||||||
import { useCompose } from 'soapbox/hooks';
|
import { useCompose } from 'soapbox/hooks';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import genericIcon from 'soapbox/assets/cryptocurrency/generic.svg';
|
import genericIcon from 'soapbox/assets/cryptocurrency/generic.svg';
|
||||||
|
|
||||||
/** Get crypto icon URL by ticker symbol, or fall back to generic icon */
|
/** Get crypto icon URL by ticker symbol, or fall back to generic icon */
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Stack } from 'soapbox/components/ui';
|
import { Stack } from 'soapbox/components/ui';
|
||||||
import { useSoapboxConfig } from 'soapbox/hooks';
|
import { useSoapboxConfig } from 'soapbox/hooks';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { getSettings } from 'soapbox/actions/settings';
|
import { getSettings } from 'soapbox/actions/settings';
|
||||||
import { useAppSelector } from 'soapbox/hooks';
|
import { useAppSelector } from 'soapbox/hooks';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { List, Map } from 'immutable';
|
import { List, Map } from 'immutable';
|
||||||
import pick from 'lodash/pick';
|
import pick from 'lodash/pick';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { authorizeFollowRequest, rejectFollowRequest } from 'soapbox/actions/accounts';
|
import { authorizeFollowRequest, rejectFollowRequest } from 'soapbox/actions/accounts';
|
||||||
import { useAccount } from 'soapbox/api/hooks';
|
import { useAccount } from 'soapbox/api/hooks';
|
||||||
import Account from 'soapbox/components/account';
|
import Account from 'soapbox/components/account';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import MissingIndicator from '../../components/missing-indicator';
|
import MissingIndicator from '../../components/missing-indicator';
|
||||||
|
|
||||||
const GenericNotFound = () => (
|
const GenericNotFound = () => (
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { beforeEach, describe, expect, it } from 'vitest';
|
import { beforeEach, describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { describe, expect, it, vi } from 'vitest';
|
import { describe, expect, it, vi } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Stack, Text } from 'soapbox/components/ui';
|
import { Stack, Text } from 'soapbox/components/ui';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { VirtuosoGridMockContext, VirtuosoMockContext } from 'react-virtuoso';
|
import { VirtuosoGridMockContext, VirtuosoMockContext } from 'react-virtuoso';
|
||||||
import { describe, expect, it, vi } from 'vitest';
|
import { describe, expect, it, vi } from 'vitest';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { usePendingGroups } from 'soapbox/api/hooks';
|
import { usePendingGroups } from 'soapbox/api/hooks';
|
||||||
import { PendingItemsRow } from 'soapbox/components/pending-items-row';
|
import { PendingItemsRow } from 'soapbox/components/pending-items-row';
|
||||||
import { Divider } from 'soapbox/components/ui';
|
import { Divider } from 'soapbox/components/ui';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
import { describe, expect, it, vi } from 'vitest';
|
import { describe, expect, it, vi } from 'vitest';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IntentionalError:
|
* IntentionalError:
|
||||||
* For testing logging/monitoring & previewing ErrorBoundary design.
|
* For testing logging/monitoring & previewing ErrorBoundary design.
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
interface ILogoText extends Pick<React.HTMLAttributes<HTMLHeadingElement>, 'dir'> {
|
interface ILogoText extends Pick<React.HTMLAttributes<HTMLHeadingElement>, 'dir'> {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { HStack, Stack } from 'soapbox/components/ui';
|
import { HStack, Stack } from 'soapbox/components/ui';
|
||||||
|
|
||||||
import PlaceholderAvatar from './placeholder-avatar';
|
import PlaceholderAvatar from './placeholder-avatar';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { memo } from 'react';
|
import { memo } from 'react';
|
||||||
|
|
||||||
import { randomIntFromInterval, generateText } from '../utils';
|
import { randomIntFromInterval, generateText } from '../utils';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Stack } from 'soapbox/components/ui';
|
import { Stack } from 'soapbox/components/ui';
|
||||||
|
|
||||||
import { generateText, randomIntFromInterval } from '../utils';
|
import { generateText, randomIntFromInterval } from '../utils';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Stack, Text } from 'soapbox/components/ui';
|
import { Stack, Text } from 'soapbox/components/ui';
|
||||||
|
|
||||||
import { generateText, randomIntFromInterval } from '../utils';
|
import { generateText, randomIntFromInterval } from '../utils';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { HStack, Stack, Text } from 'soapbox/components/ui';
|
import { HStack, Stack, Text } from 'soapbox/components/ui';
|
||||||
|
|
||||||
import { generateText, randomIntFromInterval } from '../utils';
|
import { generateText, randomIntFromInterval } from '../utils';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { HStack, Stack, Text } from 'soapbox/components/ui';
|
import { HStack, Stack, Text } from 'soapbox/components/ui';
|
||||||
|
|
||||||
import { generateText, randomIntFromInterval } from '../utils';
|
import { generateText, randomIntFromInterval } from '../utils';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { HStack, Stack, Text } from 'soapbox/components/ui';
|
import { HStack, Stack, Text } from 'soapbox/components/ui';
|
||||||
|
|
||||||
import { generateText, randomIntFromInterval } from '../utils';
|
import { generateText, randomIntFromInterval } from '../utils';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { generateText, randomIntFromInterval } from '../utils';
|
import { generateText, randomIntFromInterval } from '../utils';
|
||||||
|
|
||||||
/** Fake hashtag to display while data is loading. */
|
/** Fake hashtag to display while data is loading. */
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import PlaceholderStatus from './placeholder-status';
|
import PlaceholderStatus from './placeholder-status';
|
||||||
|
|
||||||
/** Fake material status to display while data is loading. */
|
/** Fake material status to display while data is loading. */
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { HStack, Stack } from 'soapbox/components/ui';
|
import { HStack, Stack } from 'soapbox/components/ui';
|
||||||
|
|
||||||
import { randomIntFromInterval, generateText } from '../utils';
|
import { randomIntFromInterval, generateText } from '../utils';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Stack } from 'soapbox/components/ui';
|
import { Stack } from 'soapbox/components/ui';
|
||||||
|
|
||||||
import { randomIntFromInterval, generateText } from '../utils';
|
import { randomIntFromInterval, generateText } from '../utils';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { randomIntFromInterval, generateText } from '../utils';
|
import { randomIntFromInterval, generateText } from '../utils';
|
||||||
|
|
||||||
interface IPlaceholderStatusContent {
|
interface IPlaceholderStatusContent {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Button, HStack } from 'soapbox/components/ui';
|
import { Button, HStack } from 'soapbox/components/ui';
|
||||||
import { useSettings } from 'soapbox/hooks';
|
import { useSettings } from 'soapbox/hooks';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import IconPickerDropdown from './icon-picker-dropdown';
|
import IconPickerDropdown from './icon-picker-dropdown';
|
||||||
|
|
||||||
interface IIconPicker {
|
interface IIconPicker {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import ColorWithPicker from 'soapbox/features/soapbox-config/components/color-with-picker';
|
import ColorWithPicker from 'soapbox/features/soapbox-config/components/color-with-picker';
|
||||||
|
|
||||||
import type { ColorChangeHandler } from 'react-color';
|
import type { ColorChangeHandler } from 'react-color';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Card, CardBody, Spinner } from 'soapbox/components/ui';
|
import { Card, CardBody, Spinner } from 'soapbox/components/ui';
|
||||||
|
|
||||||
const ColumnLoading = () => (
|
const ColumnLoading = () => (
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Layout } from '../../../components/ui';
|
import { Layout } from '../../../components/ui';
|
||||||
|
|
||||||
interface IColumnsArea {
|
interface IColumnsArea {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { fireEvent, render, screen } from '@testing-library/react';
|
import { fireEvent, render, screen } from '@testing-library/react';
|
||||||
import { IntlProvider } from 'react-intl';
|
import { IntlProvider } from 'react-intl';
|
||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Modal, Spinner } from 'soapbox/components/ui';
|
import { Modal, Spinner } from 'soapbox/components/ui';
|
||||||
|
|
||||||
const ModalLoading = () => (
|
const ModalLoading = () => (
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Modal } from 'soapbox/components/ui';
|
import { Modal } from 'soapbox/components/ui';
|
||||||
|
|
||||||
interface IComponentModal {
|
interface IComponentModal {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Modal } from 'soapbox/components/ui';
|
import { Modal } from 'soapbox/components/ui';
|
||||||
import DetailedCryptoAddress from 'soapbox/features/crypto-donate/components/detailed-crypto-address';
|
import DetailedCryptoAddress from 'soapbox/features/crypto-donate/components/detailed-crypto-address';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { HStack, Text } from 'soapbox/components/ui';
|
import { HStack, Text } from 'soapbox/components/ui';
|
||||||
import VerificationBadge from 'soapbox/components/verification-badge';
|
import VerificationBadge from 'soapbox/components/verification-badge';
|
||||||
import { useSoapboxConfig } from 'soapbox/hooks';
|
import { useSoapboxConfig } from 'soapbox/hooks';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { useGroups } from 'soapbox/api/hooks';
|
import { useGroups } from 'soapbox/api/hooks';
|
||||||
import { Widget } from 'soapbox/components/ui';
|
import { Widget } from 'soapbox/components/ui';
|
||||||
import GroupListItem from 'soapbox/features/groups/components/discover/group-list-item';
|
import GroupListItem from 'soapbox/features/groups/components/discover/group-list-item';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { useSuggestedGroups } from 'soapbox/api/hooks';
|
import { useSuggestedGroups } from 'soapbox/api/hooks';
|
||||||
import { Widget } from 'soapbox/components/ui';
|
import { Widget } from 'soapbox/components/ui';
|
||||||
import GroupListItem from 'soapbox/features/groups/components/discover/group-list-item';
|
import GroupListItem from 'soapbox/features/groups/components/discover/group-list-item';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import ForkAwesomeIcon from 'soapbox/components/fork-awesome-icon';
|
import ForkAwesomeIcon from 'soapbox/components/fork-awesome-icon';
|
||||||
import { Widget, Stack, Text } from 'soapbox/components/ui';
|
import { Widget, Stack, Text } from 'soapbox/components/ui';
|
||||||
import { useInstance, useSettings, useSoapboxConfig } from 'soapbox/hooks';
|
import { useInstance, useSettings, useSoapboxConfig } from 'soapbox/hooks';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { changeSetting } from 'soapbox/actions/settings';
|
import { changeSetting } from 'soapbox/actions/settings';
|
||||||
import { useAppDispatch, useSettings } from 'soapbox/hooks';
|
import { useAppDispatch, useSettings } from 'soapbox/hooks';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { play, soundCache } from 'soapbox/utils/sounds';
|
import { play, soundCache } from 'soapbox/utils/sounds';
|
||||||
|
|
||||||
import type { AnyAction, Middleware } from 'redux';
|
import type { AnyAction, Middleware } from 'redux';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Layout } from 'soapbox/components/ui';
|
import { Layout } from 'soapbox/components/ui';
|
||||||
import {
|
import {
|
||||||
LatestAccountsPanel,
|
LatestAccountsPanel,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
interface IChatsPage {
|
interface IChatsPage {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
||||||
import {
|
import {
|
||||||
WhoToFollowPanel,
|
WhoToFollowPanel,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Layout } from '../components/ui';
|
import { Layout } from '../components/ui';
|
||||||
|
|
||||||
interface IEmptyPage {
|
interface IEmptyPage {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Layout } from 'soapbox/components/ui';
|
import { Layout } from 'soapbox/components/ui';
|
||||||
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Layout } from 'soapbox/components/ui';
|
import { Layout } from 'soapbox/components/ui';
|
||||||
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
||||||
import { NewGroupPanel, SuggestedGroupsPanel } from 'soapbox/features/ui/util/async-components';
|
import { NewGroupPanel, SuggestedGroupsPanel } from 'soapbox/features/ui/util/async-components';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
||||||
import {
|
import {
|
||||||
TrendsPanel,
|
TrendsPanel,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Layout } from 'soapbox/components/ui';
|
import { Layout } from 'soapbox/components/ui';
|
||||||
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
||||||
import { MyGroupsPanel, NewGroupPanel } from 'soapbox/features/ui/util/async-components';
|
import { MyGroupsPanel, NewGroupPanel } from 'soapbox/features/ui/util/async-components';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
||||||
import {
|
import {
|
||||||
PromoPanel,
|
PromoPanel,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
||||||
import {
|
import {
|
||||||
WhoToFollowPanel,
|
WhoToFollowPanel,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
||||||
import {
|
import {
|
||||||
WhoToFollowPanel,
|
WhoToFollowPanel,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
interface IWidePage {
|
interface IWidePage {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { Map as ImmutableMap } from 'immutable';
|
import { Map as ImmutableMap } from 'immutable';
|
||||||
import sumBy from 'lodash/sumBy';
|
import sumBy from 'lodash/sumBy';
|
||||||
import { useEffect } from 'react';
|
import { useEffect } from 'react';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { render } from '@testing-library/react';
|
import { render } from '@testing-library/react';
|
||||||
import { AxiosError, AxiosHeaders } from 'axios';
|
import { AxiosError, AxiosHeaders } from 'axios';
|
||||||
import { Toaster } from 'react-hot-toast';
|
import { Toaster } from 'react-hot-toast';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import { PLEROMA, parseVersion } from './features';
|
import { PLEROMA, parseVersion } from './features';
|
||||||
|
|
||||||
import type { RootState } from 'soapbox/store';
|
import type { RootState } from 'soapbox/store';
|
||||||
|
|
Loading…
Reference in New Issue