We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae38f0 commit fb88dfcCopy full SHA for fb88dfc
app/generate/page.tsx
@@ -1,7 +1,6 @@
1
"use client";
2
3
import { Button } from "@/components/ui/button";
4
-import { saveWork } from "@/lib/actions/saveWork";
5
import { AnimatePresence, motion } from "framer-motion";
6
import {
7
AlertCircle,
@@ -175,14 +174,6 @@ export default function UploadPage() {
175
174
setError("Failed to upload image. Please try again.");
176
} finally {
177
setIsUploading(false);
178
- saveWork(
179
- // "085c190b-63be-4e54-81cf-7665e558493d",
180
- "Sample Title",
181
- "Sample Description",
182
- "https://example.com/image.png",
183
- "https://example.com/image.svg",
184
- svgResult || "",
185
- );
186
}
187
};
188
lib/actions/saveWork.ts
0 commit comments