From 50536efdcecf1ebc28dd3c05a3b73c06ba359489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 21 Nov 2024 12:54:16 +0100 Subject: [PATCH] pl-fe: format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/actions/draft-statuses.ts | 1 - packages/pl-fe/src/components/autosuggest-input.tsx | 1 - packages/pl-fe/src/utils/tailwind.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/packages/pl-fe/src/actions/draft-statuses.ts b/packages/pl-fe/src/actions/draft-statuses.ts index 83ce94e36..a009fc5d9 100644 --- a/packages/pl-fe/src/actions/draft-statuses.ts +++ b/packages/pl-fe/src/actions/draft-statuses.ts @@ -5,7 +5,6 @@ import KVStore from 'pl-fe/storage/kv-store'; import type { AppDispatch, RootState } from 'pl-fe/store'; import type { APIEntity } from 'pl-fe/types/entities'; - const DRAFT_STATUSES_FETCH_SUCCESS = 'DRAFT_STATUSES_FETCH_SUCCESS' as const; const PERSIST_DRAFT_STATUS = 'PERSIST_DRAFT_STATUS' as const; diff --git a/packages/pl-fe/src/components/autosuggest-input.tsx b/packages/pl-fe/src/components/autosuggest-input.tsx index 83866f747..1fc057963 100644 --- a/packages/pl-fe/src/components/autosuggest-input.tsx +++ b/packages/pl-fe/src/components/autosuggest-input.tsx @@ -52,7 +52,6 @@ const AutosuggestInput: React.FC = ({ const inputRef = useRef(null); - const onChange: React.ChangeEventHandler = (e) => { const [tokenStart, token] = textAtCursorMatchesToken( e.target.value, diff --git a/packages/pl-fe/src/utils/tailwind.ts b/packages/pl-fe/src/utils/tailwind.ts index 4309c3cf8..6194705c6 100644 --- a/packages/pl-fe/src/utils/tailwind.ts +++ b/packages/pl-fe/src/utils/tailwind.ts @@ -52,7 +52,6 @@ const toTailwind = (config: { const colors: PlFeColors = config.colors; const legacyColors = fromLegacyColors(config); - return { ...colors, ...Object.fromEntries(Object.entries(legacyColors).map(([key, value]) => [key, typeof value === 'string' ? colors[key] || value : { ...value, ...colors[key] }])),