From ee2d466d88eb4c167cb6774e1042b81c8c731944 Mon Sep 17 00:00:00 2001 From: David Rodriguez Date: Tue, 8 Oct 2024 22:55:50 +0200 Subject: [PATCH] chore: Run check --- crates/web/frontend/src/components/editor/editor-utils.ts | 2 +- .../frontend/src/components/shortcut-popup/shortcut-popup.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/web/frontend/src/components/editor/editor-utils.ts b/crates/web/frontend/src/components/editor/editor-utils.ts index 644f80d..7f9e48d 100644 --- a/crates/web/frontend/src/components/editor/editor-utils.ts +++ b/crates/web/frontend/src/components/editor/editor-utils.ts @@ -1,3 +1,4 @@ +import { isMac } from "@/lib/utils"; import type { Data } from "@/model/data"; import FileType from "@/model/file-type"; import { @@ -22,7 +23,6 @@ import { toast } from "sonner"; import type PromiseWorker from "webworker-promise"; import { validateFile } from "../import-popup/import-utils"; import urlPlugin from "./url-plugin"; -import { isMac } from "@/lib/utils"; export const exportFile = (data: Data, filename: string) => { const blob = new Blob([data.content], { type: `application/${data.type}` }); diff --git a/crates/web/frontend/src/components/shortcut-popup/shortcut-popup.tsx b/crates/web/frontend/src/components/shortcut-popup/shortcut-popup.tsx index 0e352e8..49351f0 100644 --- a/crates/web/frontend/src/components/shortcut-popup/shortcut-popup.tsx +++ b/crates/web/frontend/src/components/shortcut-popup/shortcut-popup.tsx @@ -1,3 +1,4 @@ +import { isMac } from "@/lib/utils"; import { Keyboard, X } from "lucide-react"; import { useState } from "react"; import ActionButton from "../action-button/action-button"; @@ -12,7 +13,6 @@ import { import Link from "../ui/link"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "../ui/table"; import { shortcutSections } from "./shortcuts"; -import { isMac } from "@/lib/utils"; const ShortcutPopup = () => { const [open, setOpen] = useState(false);