Skip to content

Commit

Permalink
Add / to list.path on HomePage ListCard to better allow custom basePa…
Browse files Browse the repository at this point in the history
…th (#6126)
  • Loading branch information
borisno2 authored Jul 18, 2021
1 parent 32e9879 commit ea0712a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/clever-pens-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-next/keystone': patch
---

Added `/` to `list.path` on HomePage ListCard to better allow custom `basePath`.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ListCard = ({ listKey, count }: ListCardProps) => {
return (
<div css={{ position: 'relative' }}>
<Link
href={list.path}
href={`/${list.path}`}
css={{
backgroundColor: colors.background,
borderColor: colors.border,
Expand Down

1 comment on commit ea0712a

@vercel
Copy link

@vercel vercel bot commented on ea0712a Jul 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.