We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cd1bf1 commit 3652ad6Copy full SHA for 3652ad6
components/Products/ProductsShowAll.vue
@@ -33,18 +33,15 @@ import ProductPrice from "@/components/Products/ProductPrice.vue";
33
const props = defineProps({
34
categoryId: { type: String, required: false },
35
categorySlug: { type: String, required: false },
36
-});
37
-
38
-const config = useRuntimeConfig();
39
40
-const props = defineProps({
41
products: {
42
type: Array,
43
required: true,
44
default: () => [],
45
},
46
});
47
+const config = useRuntimeConfig();
+
48
const products = computed(() => props.products);
49
50
/**
0 commit comments