Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { State } from "../../state";
- export function filterOnTextAction (state: State, filterOn: string) {
- const newState = Object.assign({}, state);
- newState.settings.filterOn = filterOn;
- return newState;
- };
Add Comment
Please, Sign In to add comment