Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jwartofsky-yext committed Nov 19, 2024
1 parent 130f24e commit 4ba0bcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/components/puck/Promo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ import {
YextEntityField,
YextEntityFieldSelector,
NumberOrDefault,
HeadingProps,
NumberFieldWithDefaultOption,
CTAProps,
ImageWrapperProps,
Section,
Heading,
Body,
CTA,
} from "../../index.js";
import { imageWrapperVariants } from "./Image.tsx";
import { Body } from "./atoms/body.js";
import { CTA, CTAProps } from "./atoms/cta.js";
import { Heading, HeadingProps } from "./atoms/heading.js";
import { Section } from "./atoms/section.js";
import { imageWrapperVariants, ImageWrapperProps } from "./Image.js";

const PLACEHOLDER_IMAGE_URL = "https://placehold.co/640x360";

Expand Down
1 change: 1 addition & 0 deletions src/components/puck/registry/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,6 @@ export const ui: Registry = [
name: "Promo",
type: "registry:ui",
files: ["Promo.tsx"],
registryDependencies: ["section", "heading", "cta", "body", "Image"],
},
];

0 comments on commit 4ba0bcd

Please sign in to comment.