diff --git a/packages/shared/components/image-editor/PreviewTile/index.tsx b/packages/shared/components/image-editor/PreviewTile/index.tsx index b10d0ae049..a46e250ccb 100644 --- a/packages/shared/components/image-editor/PreviewTile/index.tsx +++ b/packages/shared/components/image-editor/PreviewTile/index.tsx @@ -49,14 +49,13 @@ const PreviewTile = ({
{tags.length ? ( - {}} /> + ) : ( {}} /> )}
diff --git a/packages/shared/components/tags/Tags.types.ts b/packages/shared/components/tags/Tags.types.ts index 5f2740800c..25e30c2486 100644 --- a/packages/shared/components/tags/Tags.types.ts +++ b/packages/shared/components/tags/Tags.types.ts @@ -53,5 +53,5 @@ export interface TagsProps { /** Accepts css style */ style?: React.CSSProperties; /** Accepts the function that is called when the tag is selected */ - onSelectTag: (tag?: object) => void; + onSelectTag?: (tag?: object) => void; }