chore(admin): temporarily disable upload feature

This commit is contained in:
2026-08-02 19:34:51 +07:00 Unverified
parent 88550be932
commit e5a6ad3e04
5 changed files with 53 additions and 32 deletions
+4 -12
View File
@@ -2,7 +2,7 @@
import { useRef, useState, useTransition } from "react";
import { toast } from "sonner";
import { CalendarClock, Upload } from "lucide-react";
import { Upload } from "lucide-react";
import { Button } from "@/components/ui/button";
import {
Card,
@@ -508,18 +508,10 @@ export function UploadForm() {
<Button
type="submit"
size="lg"
disabled={pending || uploadStatus !== "completed"}
disabled
>
{pending ? (
<CalendarClock data-icon="inline-start" />
) : (
<Upload data-icon="inline-start" />
)}
{pending
? "Sending…"
: scheduledAt
? "Schedule both uploads"
: "Upload to both platforms"}
<Upload data-icon="inline-start" />
Upload feature temporarily disabled
</Button>
</div>
</form>