diff --git a/frontend/marketplace/src/components/AuctionResultsCard.vue b/frontend/marketplace/src/components/AuctionResultsCard.vue index ade2b744..94e11ab0 100644 --- a/frontend/marketplace/src/components/AuctionResultsCard.vue +++ b/frontend/marketplace/src/components/AuctionResultsCard.vue @@ -2,6 +2,7 @@ import type { MarketplaceListing } from "@/types/GraphqlSchema"; import router from "@/router"; import auctionCard from "@/assets/auctionCard.png"; +import type { MaterialProperty } from "@/types/GraphqlSchema"; import { getDetailsList, prettifyCardProperty, @@ -21,10 +22,7 @@ export interface AuctionResultsCardProps { interface CardDetailsList { applicant: string[]; location: string[]; - material: { - key: string; - value: string; - }[][]; + material: MaterialProperty[][]; volume: number; thumbnailUrl: string; image: string[]; diff --git a/frontend/marketplace/src/components/CreditTabContent.vue b/frontend/marketplace/src/components/CreditTabContent.vue index f56df77d..417fdcf8 100644 --- a/frontend/marketplace/src/components/CreditTabContent.vue +++ b/frontend/marketplace/src/components/CreditTabContent.vue @@ -35,8 +35,8 @@ const getCreditsData = async () => { query { creditBalances( first:${itemsPerPage.value},offset:${ - (pageNumber.value - 1) * itemsPerPage.value - } + (pageNumber.value - 1) * itemsPerPage.value + } filter:{ wallet:{ address:{equalTo:"${walletAddress}"} @@ -93,11 +93,9 @@ const getCreditsData = async () => { const loadQueryData = (query: string) => { showSpinner.value = true; - const { result, loading, error, refetch } = useQuery( - gql` - ${query} - ` - ); + const { result, loading, error, refetch } = useQuery(gql` + ${query} + `); data.value = { result, loading, error }; showSpinner.value = false; setInterval(() => { diff --git a/frontend/marketplace/src/components/CustomGoogleMap.vue b/frontend/marketplace/src/components/CustomGoogleMap.vue index db488030..09e7f355 100644 --- a/frontend/marketplace/src/components/CustomGoogleMap.vue +++ b/frontend/marketplace/src/components/CustomGoogleMap.vue @@ -1,6 +1,6 @@ + + diff --git a/frontend/marketplace/src/pages/AuctionDetails.vue b/frontend/marketplace/src/pages/AuctionDetails.vue index c53bb695..82c2f120 100644 --- a/frontend/marketplace/src/pages/AuctionDetails.vue +++ b/frontend/marketplace/src/pages/AuctionDetails.vue @@ -1,17 +1,40 @@