From f3a3ee16df4418c9b79e078ed81eba8058973dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Mon, 28 Jul 2025 20:09:28 +0200 Subject: [PATCH] pl-fe: remove unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/reducers/lists.test.ts | 9 --------- packages/pl-fe/src/reducers/lists.ts | 14 -------------- 2 files changed, 23 deletions(-) delete mode 100644 packages/pl-fe/src/reducers/lists.test.ts delete mode 100644 packages/pl-fe/src/reducers/lists.ts diff --git a/packages/pl-fe/src/reducers/lists.test.ts b/packages/pl-fe/src/reducers/lists.test.ts deleted file mode 100644 index 911d4f3a9..000000000 --- a/packages/pl-fe/src/reducers/lists.test.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Map as ImmutableMap } from 'immutable'; - -import reducer from './lists'; - -describe('lists reducer', () => { - it('should return the initial state', () => { - expect(reducer(undefined, {} as any)).toEqual(ImmutableMap()); - }); -}); diff --git a/packages/pl-fe/src/reducers/lists.ts b/packages/pl-fe/src/reducers/lists.ts deleted file mode 100644 index 02700cfba..000000000 --- a/packages/pl-fe/src/reducers/lists.ts +++ /dev/null @@ -1,14 +0,0 @@ -import type { List } from 'pl-api'; - -type State = Record; - -const initialState: State = {}; - -const lists = (state: State = initialState, action: any) => { - switch (action.type) { - default: - return state; - } -}; - -export { lists as default };