1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-22 18:26:39 +02:00

Prefix url with /pattern

This commit is contained in:
Phuoc Nguyen
2019-11-28 08:38:55 +07:00
parent afde58274e
commit ede365f6e2
6 changed files with 90 additions and 85 deletions

View File

@@ -12,7 +12,7 @@ interface CoverCardProps {
const CoverCard: React.FC<CoverCardProps> = ({ pattern }) => {
return (
<Link
to={`/${slug(pattern)}`}
to={`/patterns/${slug(pattern)}`}
style={{
alignItems: 'center',
display: 'flex',