mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
mv list urls back under lists path for more url flexibility
This commit is contained in:
parent
145e078591
commit
9074bff542
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ interface Props {
|
|||
};
|
||||
|
||||
export const ListInfoButton = (props: RouteComponentProps & Props) => {
|
||||
const listPath = `/${slugify(props.list.name)}`;
|
||||
const listPath = `/lists/${slugify(props.list.name)}`;
|
||||
return (
|
||||
<Button
|
||||
type="primary"
|
||||
|
|
|
|||
|
|
@ -26,5 +26,5 @@ export const ListDrawer = (props: Props) => {
|
|||
{...rp} />
|
||||
: props.lists && props.lists.length && <Redirect to={{ pathname: "/", }} />;
|
||||
};
|
||||
return <Route path="/:listSlug" render={renderDrawer} />;
|
||||
return <Route path="/lists/:listSlug" render={renderDrawer} />;
|
||||
};
|
||||
Loading…
Reference in a new issue