We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f5eb63 commit 4f28dbfCopy full SHA for 4f28dbf
src/Card.tsx
@@ -6,7 +6,7 @@ import type { Equals } from "tsafe";
6
7
import { FrIconClassName, RiIconClassName } from "./lib/generatedFromCss/classNames";
8
import { fr, RegisteredLinkProps } from "./lib";
9
-import { useLink } from "./lib/routing";
+import { getLink } from "./lib/routing";
10
import { cx } from "./lib/tools/cx";
11
12
import "./dsfr/component/card/card.css";
@@ -94,7 +94,7 @@ export const Card = memo(
94
95
assert<Equals<keyof typeof rest, never>>();
96
97
- const { Link } = useLink();
+ const { Link } = getLink();
98
99
return (
100
<div
0 commit comments