diff --git a/apps/sim/ee/custom-blocks/components/custom-block-detail.tsx b/apps/sim/ee/custom-blocks/components/custom-block-detail.tsx index ac56a55b105..3b79b88f587 100644 --- a/apps/sim/ee/custom-blocks/components/custom-block-detail.tsx +++ b/apps/sim/ee/custom-blocks/components/custom-block-detail.tsx @@ -14,11 +14,11 @@ import { Expandable, ExpandableContent, Label, - Loader, Switch, toast, + UploadPreviewButton, } from '@sim/emcn' -import { ArrowLeft, ChevronDown, ImageUp as ImageIcon, X } from '@sim/emcn/icons' +import { ArrowLeft, ChevronDown, X } from '@sim/emcn/icons' import { getErrorMessage } from '@sim/utils/errors' import { saveDiscardActions } from '@/components/settings/save-discard-actions' import { @@ -522,21 +522,16 @@ export function CustomBlockDetail({ blockId, workspaceId, onBack }: CustomBlockD
{}}> - + ) : null} +
+ ) : null} + {logoUpload.previewUrl && ( + ) : null} + {wordmarkUpload.previewUrl && ( + ) +) + +UploadPreviewButton.displayName = 'UploadPreviewButton'