Skip to content

Commit

Permalink
Merge pull request #215 from Weaverse/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
hta218 authored Oct 16, 2024
2 parents 7acaccc + f6d8aa9 commit 82db4e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions app/sections/judgeme-reviews/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export default JudgemeReviewSection;
export let schema: HydrogenComponentSchema = {
type: "judgeme-reviews",
title: "Judgeme Reviews",
enabledOn: {
pages: ["PRODUCT"],
},
inspector: [
{
group: "Layout",
Expand All @@ -26,6 +29,7 @@ export let schema: HydrogenComponentSchema = {
],
childTypes: [
"heading",
"paragraph",
"judgeme-review--index",
],
presets: {
Expand All @@ -34,6 +38,10 @@ export let schema: HydrogenComponentSchema = {
type: "heading",
Content: "Reviews",
},
{
type: "paragraph",
Content: "Reviews from Judgeme",
},
{
type: "judgeme-review--index",
},
Expand Down
2 changes: 1 addition & 1 deletion app/sections/judgeme-reviews/review-index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ReviewIndex = forwardRef<HTMLDivElement, ReviewIndexProps>((props, ref) =>
let { ...rest } = props;

return (
<div ref={ref} {...rest} className="flex flex-col md:flex-row md:gap-10 gap-5 md:px-8 px-3">
<div ref={ref} {...rest} className="flex flex-col md:flex-row md:gap-10 gap-5">
<ReviewForm/>
<ReviewList/>
</div>
Expand Down

0 comments on commit 82db4e9

Please sign in to comment.