From c75451efaf4a332908aac7cfc7375703fef8483c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 28 Oct 2024 23:47:31 +0100 Subject: [PATCH] lint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-api/lib/params/statuses.ts | 3 ++- packages/pl-fe/src/features/ui/components/profile-dropdown.tsx | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/pl-api/lib/params/statuses.ts b/packages/pl-api/lib/params/statuses.ts index e9e35015b..b4ae3f0d9 100644 --- a/packages/pl-api/lib/params/statuses.ts +++ b/packages/pl-api/lib/params/statuses.ts @@ -1,6 +1,7 @@ -import type { PaginationParams } from './common'; import { UpdateInteractionPoliciesParams } from './settings'; +import type { PaginationParams } from './common'; + interface CreateStatusWithContent { /** The text content of the status. If `media_ids` is provided, this becomes optional. Attaching a `poll` is optional while `status` is provided. */ status: string; diff --git a/packages/pl-fe/src/features/ui/components/profile-dropdown.tsx b/packages/pl-fe/src/features/ui/components/profile-dropdown.tsx index 10b5247e2..dc29bd8b0 100644 --- a/packages/pl-fe/src/features/ui/components/profile-dropdown.tsx +++ b/packages/pl-fe/src/features/ui/components/profile-dropdown.tsx @@ -37,7 +37,6 @@ type IMenuItem = { action?: (event: React.MouseEvent) => void; } - const getOtherAccounts = createSelector([ (state: RootState) => state.auth.users, (state: RootState) => state.entities[Entities.ACCOUNTS]?.store,