what am i doing

This commit is contained in:
Maze Winther
2026-01-21 14:54:12 +01:00
parent afdf7d22cf
commit f3c91d5cb4
29 changed files with 1881 additions and 2326 deletions
@@ -9,7 +9,7 @@ import { RadioGroup, RadioGroupItem } from "../ui/radio-group";
import { Progress } from "../ui/progress";
import { Checkbox } from "../ui/checkbox";
import { cn } from "@/utils/ui";
import { getExportMimeType, getExportFileExtension } from "@/utils/export";
import { getExportMimeType, getExportFileExtension } from "@/lib/export";
import { Check, Copy, Download, RotateCcw, X } from "lucide-react";
import {
EXPORT_FORMAT_VALUES,
@@ -108,7 +108,6 @@ function ExportPopover({
setExportResult(result);
if (result.success && result.buffer) {
// Download the file
const mimeType = getExportMimeType({ format });
const extension = getExportFileExtension({ format });
const blob = new Blob([result.buffer], { type: mimeType });