import kebabCase from 'lodash/kebabCase'

export default function makeAreaSlug(name) {
	return kebabCase(name.replace(`'`, '')).toLowerCase()
}

import kebabCase from 'lodash/kebabCase'

export default function makeAreaSlug(name) {
	return kebabCase((name || '').replace(`'`, '')).toLowerCase()
}

handle another edge case in makeAreaSlug