chore(admin): temporarily disable upload feature
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user