Skip to content

Commit

Permalink
리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfromundefined committed Sep 23, 2024
1 parent 18beb8a commit 47a44ce
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions demo/src/components/ArticleCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Link } from "@stackflow/link/future";
import { useFlow } from "@stackflow/react/future";
import { LazyLoadImage } from "react-lazy-load-image-component";
import * as css from "./ArticleCard.css";

Expand All @@ -13,17 +12,8 @@ const ArticleCard: React.FC<ArticleCardProps> = ({
title,
price,
}) => {
const { push } = useFlow();

const imageUrl = `https://picsum.photos/800/800/?id=${articleId}`;

const onClick = () => {
push("Article", {
articleId: String(articleId),
title,
});
};

return (
<Link
activityName="Article"
Expand Down

0 comments on commit 47a44ce

Please sign in to comment.