diff --git a/apps/sim/ee/whitelabeling/components/whitelabeling-settings.tsx b/apps/sim/ee/whitelabeling/components/whitelabeling-settings.tsx index 128fc5aafbe..163375d336a 100644 --- a/apps/sim/ee/whitelabeling/components/whitelabeling-settings.tsx +++ b/apps/sim/ee/whitelabeling/components/whitelabeling-settings.tsx @@ -11,6 +11,7 @@ import { isEnterprise } from '@/lib/billing/plan-helpers' import { HEX_COLOR_REGEX } from '@/lib/branding' import type { OrganizationWhitelabelSettings } from '@/lib/branding/types' import { useDeploymentShape } from '@/lib/core/config/deployment-shape' +import { DropZone } from '@/app/workspace/[workspaceId]/components/drop-zone' import { SettingsEmptyState } from '@/app/workspace/[workspaceId]/settings/components/settings-empty-state' import { SettingsPanel } from '@/app/workspace/[workspaceId]/settings/components/settings-panel' import { SettingsSection } from '@/app/workspace/[workspaceId]/settings/components/settings-section/settings-section' @@ -27,42 +28,6 @@ import { useWorkspacesQuery } from '@/hooks/queries/workspace' const logger = createLogger('WhitelabelingSettings') -interface DropZoneProps { - onDrop: (e: React.DragEvent) => void - children: React.ReactNode - className?: string -} - -function DropZone({ onDrop, children, className }: DropZoneProps) { - const [isDragging, setIsDragging] = useState(false) - - return ( -