diff --git a/src/FilterLists.Web/src/components/ListInfoButton.tsx b/src/FilterLists.Web/src/components/ListInfoButton.tsx index 041a79b06..5214a2df5 100644 --- a/src/FilterLists.Web/src/components/ListInfoButton.tsx +++ b/src/FilterLists.Web/src/components/ListInfoButton.tsx @@ -3,12 +3,14 @@ import React from 'react'; import { RouteComponentProps } from 'react-router-dom'; import slugify from 'slugify'; +import { SlugifyOptions } from '../constants'; + interface Props { listName: string; }; export const ListInfoButton = (props: RouteComponentProps & Props) => { - const listPath = `/lists/${slugify(props.listName)}`; + const listPath = `/lists/${slugify(props.listName, SlugifyOptions)}`; return (