Delete blank empty lines at the top of source code files

This commit is contained in:
Alex Gleason 2024-11-09 17:01:25 -06:00
parent 02f76b7c6b
commit 013582e9e4
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
99 changed files with 0 additions and 99 deletions

View File

@ -1,4 +1,3 @@
import { fetchRelationships } from 'soapbox/actions/accounts';
import { importFetchedAccount, importFetchedAccounts, importFetchedStatuses } from 'soapbox/actions/importer';
import { accountIdsToAccts } from 'soapbox/selectors';

View File

@ -1,4 +1,3 @@
// Accounts
export { useAccount } from './accounts/useAccount';
export { useAccountLookup } from './accounts/useAccountLookup';

View File

@ -1,4 +1,3 @@
interface IInlineSVG {
loader?: JSX.Element;
}

View File

@ -1,4 +1,3 @@
import unicodeMapping from 'soapbox/features/emoji/mapping';
import { useSettings } from 'soapbox/hooks';
import { joinPublicPath } from 'soapbox/utils/static';

View File

@ -1,4 +1,3 @@
import { isCustomEmoji } from 'soapbox/features/emoji';
import unicodeMapping from 'soapbox/features/emoji/mapping';
import { joinPublicPath } from 'soapbox/utils/static';

View File

@ -1,4 +1,3 @@
import { useSoapboxConfig } from 'soapbox/hooks';
import { getAcct } from '../utils/accounts';

View File

@ -1,4 +1,3 @@
import HoverRefWrapper from 'soapbox/components/hover-ref-wrapper';
import { useSoapboxConfig } from 'soapbox/hooks';

View File

@ -1,4 +1,3 @@
import Emoji from 'soapbox/components/ui/emoji/emoji';
interface IEmojiGraphic {

View File

@ -1,4 +1,3 @@
import GroupHeaderImage from 'soapbox/features/group/components/group-header-image';
import GroupMemberCount from 'soapbox/features/group/components/group-member-count';
import GroupPrivacy from 'soapbox/features/group/components/group-privacy';

View File

@ -1,4 +1,3 @@
import Link from './link';
interface IHashtagLink {

View File

@ -1,4 +1,3 @@
import Icon, { IIcon } from 'soapbox/components/icon';
import { Counter } from 'soapbox/components/ui';

View File

@ -1,4 +1,3 @@
/** Fullscreen gradient used as a backdrop to public pages. */
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' />

View File

@ -1,4 +1,3 @@
import LandingGradient from 'soapbox/components/landing-gradient';
import { Spinner } from 'soapbox/components/ui';

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { IntlProvider } from 'react-intl';
import { Provider } from 'react-redux';

View File

@ -1,4 +1,3 @@
import PullToRefresh from './pull-to-refresh';
interface IPullable {

View File

@ -1,4 +1,3 @@
import { Children, cloneElement } from 'react';
import List, { ListItem } from './list';

View File

@ -1,4 +1,3 @@
import { defineMessages } from 'react-intl';
import { describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import { Map as ImmutableMap } from 'immutable';
import { beforeEach, describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import { HStack, Text } from '../ui';
interface IStatusInfo {

View File

@ -1,4 +1,3 @@
import { shortNumberFormat } from 'soapbox/utils/numbers';
interface ICounter {

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { describe, expect, it, vi } from 'vitest';

View File

@ -1,4 +1,3 @@
import Input from '../input/input';
interface DatetimeProps {

View File

@ -1,4 +1,3 @@
import Text from '../text/text';
import type { Sizes as TextSizes } from '../text/text';

View File

@ -1,4 +1,3 @@
import { removeVS16s, toCodePoints } from 'soapbox/utils/emoji';
import { joinPublicPath } from 'soapbox/utils/static';

View File

@ -1,4 +1,3 @@
import HStack from '../hstack/hstack';
interface IFormActions {

View File

@ -1,4 +1,3 @@
import Counter from '../counter/counter';
import SvgIcon from './svg-icon';

View File

@ -1,4 +1,3 @@
import IconCode from '@tabler/icons/outline/code.svg';
import { describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { describe, expect, it, vi } from 'vitest';

View File

@ -1,4 +1,3 @@
import { useAccount } from 'soapbox/api/hooks';
import Account, { IAccount } from 'soapbox/components/account';

View File

@ -1,4 +1,3 @@
import { approveUser, rejectUser } from 'soapbox/actions/admin';
import { useAccount } from 'soapbox/api/hooks';
import Account from 'soapbox/components/account';

View File

@ -1,4 +1,3 @@
import { Map as ImmutableMap } from 'immutable';
import { describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import { Route, Switch } from 'react-router-dom';
import { describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { VirtuosoMockContext } from 'react-virtuoso';
import { beforeEach, describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { describe, expect, it, vi } from 'vitest';

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { describe, expect, it, vi } from 'vitest';

View File

@ -1,4 +1,3 @@
import { VirtuosoMockContext } from 'react-virtuoso';
import { beforeEach, describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import { ProgressBar } from 'soapbox/components/ui';
interface IChatPendingUpload {

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { VirtuosoMockContext } from 'react-virtuoso';
import { beforeEach, describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import { Route, Switch } from 'react-router-dom';
import { describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import { ChatProvider } from 'soapbox/contexts/chat-context';
import ChatPage from './components/chat-page/chat-page';

View File

@ -1,4 +1,3 @@
import { useAccount } from 'soapbox/api/hooks';
import Account from 'soapbox/components/account';

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { describe, expect, it, vi } from 'vitest';

View File

@ -1,4 +1,3 @@
import UploadProgress from 'soapbox/components/upload-progress';
import { useCompose } from 'soapbox/hooks';

View File

@ -1,4 +1,3 @@
import genericIcon from 'soapbox/assets/cryptocurrency/generic.svg';
/** Get crypto icon URL by ticker symbol, or fall back to generic icon */

View File

@ -1,4 +1,3 @@
import { Stack } from 'soapbox/components/ui';
import { useSoapboxConfig } from 'soapbox/hooks';

View File

@ -1,4 +1,3 @@
import { getSettings } from 'soapbox/actions/settings';
import { useAppSelector } from 'soapbox/hooks';

View File

@ -1,4 +1,3 @@
import { List, Map } from 'immutable';
import pick from 'lodash/pick';
import { describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import { authorizeFollowRequest, rejectFollowRequest } from 'soapbox/actions/accounts';
import { useAccount } from 'soapbox/api/hooks';
import Account from 'soapbox/components/account';

View File

@ -1,4 +1,3 @@
import MissingIndicator from '../../components/missing-indicator';
const GenericNotFound = () => (

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { beforeEach, describe, expect, it } from 'vitest';

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { describe, expect, it, vi } from 'vitest';

View File

@ -1,4 +1,3 @@
import { Stack, Text } from 'soapbox/components/ui';
interface Props {

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { VirtuosoGridMockContext, VirtuosoMockContext } from 'react-virtuoso';
import { describe, expect, it, vi } from 'vitest';

View File

@ -1,4 +1,3 @@
import { usePendingGroups } from 'soapbox/api/hooks';
import { PendingItemsRow } from 'soapbox/components/pending-items-row';
import { Divider } from 'soapbox/components/ui';

View File

@ -1,4 +1,3 @@
import userEvent from '@testing-library/user-event';
import { describe, expect, it, vi } from 'vitest';

View File

@ -1,4 +1,3 @@
/**
* IntentionalError:
* For testing logging/monitoring & previewing ErrorBoundary design.

View File

@ -1,4 +1,3 @@
interface ILogoText extends Pick<React.HTMLAttributes<HTMLHeadingElement>, 'dir'> {
children: React.ReactNode;
}

View File

@ -1,4 +1,3 @@
import { HStack, Stack } from 'soapbox/components/ui';
import PlaceholderAvatar from './placeholder-avatar';

View File

@ -1,4 +1,3 @@
import { memo } from 'react';
import { randomIntFromInterval, generateText } from '../utils';

View File

@ -1,4 +1,3 @@
import { Stack } from 'soapbox/components/ui';
import { generateText, randomIntFromInterval } from '../utils';

View File

@ -1,4 +1,3 @@
import { Stack, Text } from 'soapbox/components/ui';
import { generateText, randomIntFromInterval } from '../utils';

View File

@ -1,4 +1,3 @@
import { HStack, Stack, Text } from 'soapbox/components/ui';
import { generateText, randomIntFromInterval } from '../utils';

View File

@ -1,4 +1,3 @@
import { HStack, Stack, Text } from 'soapbox/components/ui';
import { generateText, randomIntFromInterval } from '../utils';

View File

@ -1,4 +1,3 @@
import { HStack, Stack, Text } from 'soapbox/components/ui';
import { generateText, randomIntFromInterval } from '../utils';

View File

@ -1,4 +1,3 @@
import { generateText, randomIntFromInterval } from '../utils';
/** Fake hashtag to display while data is loading. */

View File

@ -1,4 +1,3 @@
import PlaceholderStatus from './placeholder-status';
/** Fake material status to display while data is loading. */

View File

@ -1,4 +1,3 @@
import { HStack, Stack } from 'soapbox/components/ui';
import { randomIntFromInterval, generateText } from '../utils';

View File

@ -1,4 +1,3 @@
import { Stack } from 'soapbox/components/ui';
import { randomIntFromInterval, generateText } from '../utils';

View File

@ -1,4 +1,3 @@
import { randomIntFromInterval, generateText } from '../utils';
interface IPlaceholderStatusContent {

View File

@ -1,4 +1,3 @@
import { Button, HStack } from 'soapbox/components/ui';
import { useSettings } from 'soapbox/hooks';

View File

@ -1,4 +1,3 @@
import IconPickerDropdown from './icon-picker-dropdown';
interface IIconPicker {

View File

@ -1,4 +1,3 @@
import ColorWithPicker from 'soapbox/features/soapbox-config/components/color-with-picker';
import type { ColorChangeHandler } from 'react-color';

View File

@ -1,4 +1,3 @@
import { Card, CardBody, Spinner } from 'soapbox/components/ui';
const ColumnLoading = () => (

View File

@ -1,4 +1,3 @@
import { Layout } from '../../../components/ui';
interface IColumnsArea {

View File

@ -1,4 +1,3 @@
import { fireEvent, render, screen } from '@testing-library/react';
import { IntlProvider } from 'react-intl';
import { Provider } from 'react-redux';

View File

@ -1,4 +1,3 @@
import { Modal, Spinner } from 'soapbox/components/ui';
const ModalLoading = () => (

View File

@ -1,4 +1,3 @@
import { Modal } from 'soapbox/components/ui';
interface IComponentModal {

View File

@ -1,4 +1,3 @@
import { Modal } from 'soapbox/components/ui';
import DetailedCryptoAddress from 'soapbox/features/crypto-donate/components/detailed-crypto-address';

View File

@ -1,4 +1,3 @@
import { HStack, Text } from 'soapbox/components/ui';
import VerificationBadge from 'soapbox/components/verification-badge';
import { useSoapboxConfig } from 'soapbox/hooks';

View File

@ -1,4 +1,3 @@
import { useGroups } from 'soapbox/api/hooks';
import { Widget } from 'soapbox/components/ui';
import GroupListItem from 'soapbox/features/groups/components/discover/group-list-item';

View File

@ -1,4 +1,3 @@
import { useSuggestedGroups } from 'soapbox/api/hooks';
import { Widget } from 'soapbox/components/ui';
import GroupListItem from 'soapbox/features/groups/components/discover/group-list-item';

View File

@ -1,4 +1,3 @@
import ForkAwesomeIcon from 'soapbox/components/fork-awesome-icon';
import { Widget, Stack, Text } from 'soapbox/components/ui';
import { useInstance, useSettings, useSoapboxConfig } from 'soapbox/hooks';

View File

@ -1,4 +1,3 @@
import { changeSetting } from 'soapbox/actions/settings';
import { useAppDispatch, useSettings } from 'soapbox/hooks';

View File

@ -1,4 +1,3 @@
import { play, soundCache } from 'soapbox/utils/sounds';
import type { AnyAction, Middleware } from 'redux';

View File

@ -1,4 +1,3 @@
import { Layout } from 'soapbox/components/ui';
import {
LatestAccountsPanel,

View File

@ -1,4 +1,3 @@
interface IChatsPage {
children: React.ReactNode;
}

View File

@ -1,4 +1,3 @@
import LinkFooter from 'soapbox/features/ui/components/link-footer';
import {
WhoToFollowPanel,

View File

@ -1,4 +1,3 @@
import { Layout } from '../components/ui';
interface IEmptyPage {

View File

@ -1,4 +1,3 @@
import { Layout } from 'soapbox/components/ui';
import LinkFooter from 'soapbox/features/ui/components/link-footer';
import {

View File

@ -1,4 +1,3 @@
import { Layout } from 'soapbox/components/ui';
import LinkFooter from 'soapbox/features/ui/components/link-footer';
import { NewGroupPanel, SuggestedGroupsPanel } from 'soapbox/features/ui/util/async-components';

View File

@ -1,4 +1,3 @@
import LinkFooter from 'soapbox/features/ui/components/link-footer';
import {
TrendsPanel,

View File

@ -1,4 +1,3 @@
import { Layout } from 'soapbox/components/ui';
import LinkFooter from 'soapbox/features/ui/components/link-footer';
import { MyGroupsPanel, NewGroupPanel } from 'soapbox/features/ui/util/async-components';

View File

@ -1,4 +1,3 @@
import LinkFooter from 'soapbox/features/ui/components/link-footer';
import {
PromoPanel,

View File

@ -1,4 +1,3 @@
import LinkFooter from 'soapbox/features/ui/components/link-footer';
import {
WhoToFollowPanel,

View File

@ -1,4 +1,3 @@
import LinkFooter from 'soapbox/features/ui/components/link-footer';
import {
WhoToFollowPanel,

View File

@ -1,4 +1,3 @@
interface IWidePage {
children: React.ReactNode;
}

View File

@ -1,4 +1,3 @@
import { Map as ImmutableMap } from 'immutable';
import sumBy from 'lodash/sumBy';
import { useEffect } from 'react';

View File

@ -1,4 +1,3 @@
import { render } from '@testing-library/react';
import { AxiosError, AxiosHeaders } from 'axios';
import { Toaster } from 'react-hot-toast';

View File

@ -1,4 +1,3 @@
import { PLEROMA, parseVersion } from './features';
import type { RootState } from 'soapbox/store';