diff --git a/apps/infoalloggi/src/components/annunci_grid.tsx b/apps/infoalloggi/src/components/annunci_grid.tsx index f46a3d5..0592d0c 100644 --- a/apps/infoalloggi/src/components/annunci_grid.tsx +++ b/apps/infoalloggi/src/components/annunci_grid.tsx @@ -1,5 +1,5 @@ import { getTitoloTranslation } from "~/lib/annuncio_details"; -import CardAnnuncio from "~/components/annuncio_card"; +import { CardAnnuncio } from "~/components/annuncio_card"; import { useTranslation } from "~/providers/I18nProvider"; import type { AnnuncioRicerca } from "~/server/controllers/annunci.controller"; diff --git a/apps/infoalloggi/src/components/annuncio_card.tsx b/apps/infoalloggi/src/components/annuncio_card.tsx index b616648..69c4b15 100644 --- a/apps/infoalloggi/src/components/annuncio_card.tsx +++ b/apps/infoalloggi/src/components/annuncio_card.tsx @@ -37,7 +37,7 @@ type CardAnnuncioProps = { className?: string; }; -const CardAnnuncio = ({ +export const CardAnnuncio = ({ id, codice, prezzo, @@ -203,8 +203,6 @@ const CardAnnuncio = ({ ); }; -export default CardAnnuncio; - export const CarouselAnnuncio = ({ single, immagini, @@ -223,7 +221,7 @@ export const CarouselAnnuncio = ({ <>