From 1640c2bc8742e0df9e550c436e7a91140f5449a2 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 16 Sep 2023 12:20:19 -0500 Subject: [PATCH] yarn lint:js --fix --- app/soapbox/entity-store/hooks/useBatchedEntities.ts | 2 +- app/soapbox/entity-store/hooks/useCreateEntity.ts | 2 +- app/soapbox/entity-store/hooks/useEntities.ts | 2 +- app/soapbox/entity-store/hooks/useEntity.ts | 2 +- app/soapbox/entity-store/hooks/useEntityActions.ts | 2 +- app/soapbox/features/chats/components/chat-pane/chat-pane.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/soapbox/entity-store/hooks/useBatchedEntities.ts b/app/soapbox/entity-store/hooks/useBatchedEntities.ts index 928c32b83..4c7b2b7c2 100644 --- a/app/soapbox/entity-store/hooks/useBatchedEntities.ts +++ b/app/soapbox/entity-store/hooks/useBatchedEntities.ts @@ -11,8 +11,8 @@ import { selectCache, selectListState, useListState } from '../selectors'; import { parseEntitiesPath } from './utils'; -import type { Entity } from '../types'; import type { EntitiesPath, EntityFn, EntitySchema, ExpandedEntitiesPath } from './types'; +import type { Entity } from '../types'; import type { RootState } from 'soapbox/store'; interface UseBatchedEntitiesOpts { diff --git a/app/soapbox/entity-store/hooks/useCreateEntity.ts b/app/soapbox/entity-store/hooks/useCreateEntity.ts index 3e1498210..ed2a4effc 100644 --- a/app/soapbox/entity-store/hooks/useCreateEntity.ts +++ b/app/soapbox/entity-store/hooks/useCreateEntity.ts @@ -8,8 +8,8 @@ import { importEntities } from '../actions'; import { parseEntitiesPath } from './utils'; -import type { Entity } from '../types'; import type { EntityCallbacks, EntityFn, EntitySchema, ExpandedEntitiesPath } from './types'; +import type { Entity } from '../types'; interface UseCreateEntityOpts { schema?: EntitySchema diff --git a/app/soapbox/entity-store/hooks/useEntities.ts b/app/soapbox/entity-store/hooks/useEntities.ts index 4cf58d1f1..e68cbc9d8 100644 --- a/app/soapbox/entity-store/hooks/useEntities.ts +++ b/app/soapbox/entity-store/hooks/useEntities.ts @@ -14,8 +14,8 @@ import { selectEntities, selectListState, useListState } from '../selectors'; import { parseEntitiesPath } from './utils'; -import type { Entity } from '../types'; import type { EntityFn, EntitySchema, ExpandedEntitiesPath } from './types'; +import type { Entity } from '../types'; /** Additional options for the hook. */ interface UseEntitiesOpts { diff --git a/app/soapbox/entity-store/hooks/useEntity.ts b/app/soapbox/entity-store/hooks/useEntity.ts index 116eaff96..a50c0dbc3 100644 --- a/app/soapbox/entity-store/hooks/useEntity.ts +++ b/app/soapbox/entity-store/hooks/useEntity.ts @@ -9,8 +9,8 @@ import { useLoading } from 'soapbox/hooks/useLoading'; import { importEntities } from '../actions'; import { selectEntity } from '../selectors'; -import type { Entity } from '../types'; import type { EntitySchema, EntityPath, EntityFn } from './types'; +import type { Entity } from '../types'; /** Additional options for the hook. */ interface UseEntityOpts { diff --git a/app/soapbox/entity-store/hooks/useEntityActions.ts b/app/soapbox/entity-store/hooks/useEntityActions.ts index a3bb71597..cb9fb1c44 100644 --- a/app/soapbox/entity-store/hooks/useEntityActions.ts +++ b/app/soapbox/entity-store/hooks/useEntityActions.ts @@ -4,8 +4,8 @@ import { useCreateEntity } from './useCreateEntity'; import { useDeleteEntity } from './useDeleteEntity'; import { parseEntitiesPath } from './utils'; -import type { Entity } from '../types'; import type { EntitySchema, ExpandedEntitiesPath } from './types'; +import type { Entity } from '../types'; interface UseEntityActionsOpts { schema?: EntitySchema diff --git a/app/soapbox/features/chats/components/chat-pane/chat-pane.tsx b/app/soapbox/features/chats/components/chat-pane/chat-pane.tsx index 026eb08e4..20896167c 100644 --- a/app/soapbox/features/chats/components/chat-pane/chat-pane.tsx +++ b/app/soapbox/features/chats/components/chat-pane/chat-pane.tsx @@ -8,9 +8,9 @@ import { useDebounce, useFeatures } from 'soapbox/hooks'; import { IChat, useChats } from 'soapbox/queries/chats'; import ChatList from '../chat-list'; -import ChatSearchInput from '../chat-search-input'; import ChatSearch from '../chat-search/chat-search'; import EmptyResultsBlankslate from '../chat-search/empty-results-blankslate'; +import ChatSearchInput from '../chat-search-input'; import ChatPaneHeader from '../chat-widget/chat-pane-header'; import ChatWindow from '../chat-widget/chat-window'; import ChatSearchHeader from '../chat-widget/headers/chat-search-header';