export const formatSlug = (val: string): string => val .replace(/ /g, "-") .replace(/[^\w-]+/g, "") .toLowerCase()