Skip to content

Instantly share code, notes, and snippets.

@darfink
Created May 23, 2019 14:00
Show Gist options
  • Save darfink/cc5742f26e8cb7f7dab04de6019f5545 to your computer and use it in GitHub Desktop.
Save darfink/cc5742f26e8cb7f7dab04de6019f5545 to your computer and use it in GitHub Desktop.
import R from 'ramda';
import attractions from '../assets/attractions.json';
export default new Set(R.chain(R.prop('categories'), attractions));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment