pl-fe: remove unused
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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());
|
||||
});
|
||||
});
|
||||
@ -1,14 +0,0 @@
|
||||
import type { List } from 'pl-api';
|
||||
|
||||
type State = Record<string, List | false>;
|
||||
|
||||
const initialState: State = {};
|
||||
|
||||
const lists = (state: State = initialState, action: any) => {
|
||||
switch (action.type) {
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
};
|
||||
|
||||
export { lists as default };
|
||||
Reference in New Issue
Block a user