Skip to content

Commit

Permalink
fix: bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetonietti committed Dec 13, 2024
1 parent f72035c commit dcf199c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/shipping/Results.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { AppContext } from "../../apps/deco/wake.ts";
import { type ComponentProps } from "../../sections/Component.tsx";
import { type SectionProps } from "@deco/deco";
import { ShippingQuotesQuery } from "apps/wake/utils/graphql/storefront.graphql.gen.ts";
import type { Props as SKU } from "apps/wake/actions/shippingSimulation.ts";

Expand All @@ -27,7 +27,7 @@ export async function action(props: Props, req: Request, ctx: AppContext) {
}
}

export default function Results({ result }: ComponentProps<typeof action>) {
export default function Results({ result }: SectionProps<typeof action>) {

if (!result) {
return (
Expand Down
4 changes: 1 addition & 3 deletions sections/Product/ProductDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ export default function ProductDetails(props: Props) {
}

const { productID, aggregateRating, review } = props?.page?.product
console.log(review)
console.log(aggregateRating)


return (
<>
<Section.Container class="mobile:mt-[60px]">
Expand Down

0 comments on commit dcf199c

Please sign in to comment.