Skip to content

Commit

Permalink
fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
nlkluth committed Nov 8, 2023
1 parent decddb0 commit fde20f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/components/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const Card = ({
<BaseCard
title={title}
subTitle={subTitle}
to={to.toString()}
to={to}
price={price}
className={className}
imageContainerClass={containerClassName}
Expand Down
3 changes: 2 additions & 1 deletion packages/shared-ui/components/Card/Card.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import classNames from "classnames";

import { currencyFormatter } from "../../utils/currencyFormatter";
import { UrlObject } from "url";

export interface CardProps {
title: string;
price?: number;
Link?: React.ElementType;
Image?: React.ElementType;
subTitle?: string;
to: string;
to: string | UrlObject;
className?: string;
imageContainerClass?: string;
}
Expand Down

0 comments on commit fde20f1

Please sign in to comment.