Skip to content

Instantly share code, notes, and snippets.

@davidgilbertson
Last active April 8, 2020 00:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidgilbertson/79cd2afa8ce965138b095999009e8a09 to your computer and use it in GitHub Desktop.
Save davidgilbertson/79cd2afa8ce965138b095999009e8a09 to your computer and use it in GitHub Desktop.
import { store } from 'react-recollect'; // New line
export function setVisibilityFilter(filter) {
store.visibilityFilter = filter; // New line
return { type: SET_VISIBILITY_FILTER, filter }; // We'll delete this later
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment