From 129811de5c94fcef2f81984bde9bc02276a3dade Mon Sep 17 00:00:00 2001 From: dangthang1903 Date: Wed, 16 Oct 2024 11:01:12 +0700 Subject: [PATCH] fix style issue judgeme review --- app/sections/judgeme-reviews/index.tsx | 8 ++++++++ app/sections/judgeme-reviews/review-index.tsx | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/sections/judgeme-reviews/index.tsx b/app/sections/judgeme-reviews/index.tsx index 6cc33351..5e179a31 100644 --- a/app/sections/judgeme-reviews/index.tsx +++ b/app/sections/judgeme-reviews/index.tsx @@ -18,6 +18,9 @@ export default JudgemeReviewSection; export let schema: HydrogenComponentSchema = { type: "judgeme-reviews", title: "Judgeme Reviews", + enabledOn: { + pages: ["PRODUCT"], + }, inspector: [ { group: "Layout", @@ -26,6 +29,7 @@ export let schema: HydrogenComponentSchema = { ], childTypes: [ "heading", + "paragraph", "judgeme-review--index", ], presets: { @@ -34,6 +38,10 @@ export let schema: HydrogenComponentSchema = { type: "heading", Content: "Reviews", }, + { + type: "paragraph", + Content: "Reviews from Judgeme", + }, { type: "judgeme-review--index", }, diff --git a/app/sections/judgeme-reviews/review-index.tsx b/app/sections/judgeme-reviews/review-index.tsx index aabbef64..18160fdf 100644 --- a/app/sections/judgeme-reviews/review-index.tsx +++ b/app/sections/judgeme-reviews/review-index.tsx @@ -8,7 +8,7 @@ const ReviewIndex = forwardRef((props, ref) => let { ...rest } = props; return ( -
+