Skip to content

Commit

Permalink
feat(frontend): link recipe card header to recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
mmtftr committed May 17, 2024
1 parent 432b806 commit d7eee08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/components/Recipe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export const Recipe = ({
<Card className="flex flex-1 flex-col bg-gray-100 pt-16">
<CardHeader>
<div className="flex items-center justify-between">
<CardTitle>{name}</CardTitle>
<CardTitle>
<Link to={`/recipes/${id}`}>{name}</Link>
</CardTitle>
<div className="flex">
<Button
className="bg-transparent"
Expand Down

0 comments on commit d7eee08

Please sign in to comment.