From 6bdb77bdf0f721b3e2d5446c13011ace1966587f Mon Sep 17 00:00:00 2001 From: Resi Respati Date: Mon, 11 Feb 2019 00:15:14 +0700 Subject: [PATCH] [with-typescript] remove unnecessary `passHref` in `Link` components As per discussion in #6165, I removed the `passHref` in `Link` as they're unnecessary. --- examples/with-typescript/components/ListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-typescript/components/ListItem.tsx b/examples/with-typescript/components/ListItem.tsx index 14478cd26dd35..275d6def8a6ec 100644 --- a/examples/with-typescript/components/ListItem.tsx +++ b/examples/with-typescript/components/ListItem.tsx @@ -8,7 +8,7 @@ type Props = { } const ListItem: React.FunctionComponent = ({ data }) => ( - + {data.id}: {data.name} );