diff --git a/components/Global/card.tsx b/components/Global/card.tsx index 0e7aadf9..0fb1072f 100644 --- a/components/Global/card.tsx +++ b/components/Global/card.tsx @@ -14,8 +14,7 @@ interface CardProps extends TamaguiCardProps { export function Card(props: CardProps) { - const { apiClient } = useApiClientContext(); - const { data, isPending } = useItemImage(apiClient!, props.itemId, ImageType.Primary, cardDimensions.width) + const { server } = useApiClientContext(); return ( - { data && ( - - - )} + ) diff --git a/components/Global/component.config.ts b/components/Global/component.config.ts index 1fd4146b..01718114 100644 --- a/components/Global/component.config.ts +++ b/components/Global/component.config.ts @@ -1,4 +1,4 @@ export const cardDimensions = { - width: 300, + width: 250, height: 300 } \ No newline at end of file