From 8d83220df47e105649a5f2084d6000f324c58b9c Mon Sep 17 00:00:00 2001 From: Arnas Donauskas Date: Mon, 18 May 2026 15:26:47 +0300 Subject: [PATCH] chore(broadcasts): drop the inert Schedule for Later tile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Pro-badged Schedule for Later tile in step 4 was a non-interactive div — no handler, no scheduling backend, and no Pro tier in the product. Send Immediately was the only path that did anything, so the picker itself was decorative. Remove the section (and the now-unused timing state / Clock / Lock imports). The wizard still completes Send Immediately end-to-end via the existing Send Broadcast button below. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../broadcasts/step4-schedule-send.tsx | 38 +------------------ 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/src/components/broadcasts/step4-schedule-send.tsx b/src/components/broadcasts/step4-schedule-send.tsx index b07893b..98c23c3 100644 --- a/src/components/broadcasts/step4-schedule-send.tsx +++ b/src/components/broadcasts/step4-schedule-send.tsx @@ -14,7 +14,7 @@ import { DialogTitle, DialogTrigger, } from '@/components/ui/dialog'; -import { ArrowLeft, Send, Clock, Loader2, Users, Lock, Save } from 'lucide-react'; +import { ArrowLeft, Send, Loader2, Users, Save } from 'lucide-react'; interface AudienceConfig { type: string; @@ -45,7 +45,6 @@ export function Step4ScheduleSend({ isProcessing, progress, }: Step4Props) { - const [timing, setTiming] = useState<'now' | 'later'>('now'); const [showConfirm, setShowConfirm] = useState(false); const [estimatedReach, setEstimatedReach] = useState(0); const [loadingReach, setLoadingReach] = useState(true); @@ -143,41 +142,6 @@ export function Step4ScheduleSend({ - {/* Delivery Timing */} -
-

Delivery Timing

-
- - -
- -
-
-

Schedule for Later

- - - Pro - -
-

Pick a date and time

-
-
-
-
- {/* Processing overlay */} {isProcessing && (