Skip to content

Commit

Permalink
fix: gover
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Jan 6, 2025
1 parent 9cf1421 commit d9b83ed
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions apps/dashboard/src/components/step-preview-hover-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ interface StepPreviewProps {
}

export function StepPreview({ type, controlValues }: StepPreviewProps) {
if (type === StepTypeEnum.TRIGGER) {
if (type === StepTypeEnum.TRIGGER || type === StepTypeEnum.DELAY || type === StepTypeEnum.DIGEST) {
return null;
}

Expand Down Expand Up @@ -174,10 +174,4 @@ export function StepPreview({ type, controlValues }: StepPreviewProps) {
</div>
);
}

return (
<div className="p-4">
<div className="text-foreground-600 text-sm">Preview coming soon</div>
</div>
);
}

0 comments on commit d9b83ed

Please sign in to comment.