Skip to content

Commit 730506c

Browse files
committed
fix: moved shadcn import so that default styling applies
1 parent 5217383 commit 730506c

File tree

7 files changed

+8
-6
lines changed

7 files changed

+8
-6
lines changed

frontend/components.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"prefix": ""
1212
},
1313
"aliases": {
14-
"components": "@/components",
15-
"utils": "@/lib/utils"
14+
"components": "src/@/components",
15+
"utils": "src/@/lib/utils"
1616
}
1717
}
File renamed without changes.
File renamed without changes.

frontend/src/components/Card.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ export function Card({ recipe }: Props) {
1010
/> */}
1111
<div className="p-1">
1212
<div>{recipe.name}</div>
13-
<div>{recipe.description}</div>
13+
<div>
14+
<em>{recipe.description}</em>
15+
</div>
1416
</div>
1517
</div>
1618
);

frontend/src/pages/CreateRecipe.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import { Form } from "../components/Form";
66
import { create } from "../services/recipes";
77
import { importByURL, generateWithGPT } from "../services/generate";
88
import { useState } from "react";
9-
import { Button } from "../../@/components/ui/Button";
10-
import { Input } from "../../@/components/ui/Input";
11-
import { Icons } from "../../@/components/icons";
9+
import { Button } from "../@/components/ui/button";
10+
import { Input } from "../@/components/ui/input";
11+
import { Icons } from "../@/components/icons";
1212

1313
// export function InputWithButton({
1414
// text,

0 commit comments

Comments
 (0)