From 2de52e3d2e7ec45b8d31c1f36f78adfdfd3c6be8 Mon Sep 17 00:00:00 2001 From: Shawn Mclean Date: Thu, 2 Jan 2025 14:35:59 -0500 Subject: [PATCH] lint --- .../src/app/(dashboard)/new/components/AssetManager.tsx | 3 ++- .../sovoli.com/src/app/(dashboard)/new/components/NoteForm.tsx | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/sovoli.com/src/app/(dashboard)/new/components/AssetManager.tsx b/apps/sovoli.com/src/app/(dashboard)/new/components/AssetManager.tsx index 65a34c0b..4374753e 100644 --- a/apps/sovoli.com/src/app/(dashboard)/new/components/AssetManager.tsx +++ b/apps/sovoli.com/src/app/(dashboard)/new/components/AssetManager.tsx @@ -13,7 +13,8 @@ import { CloudUpload, Trash2Icon } from "lucide-react"; import { useDropzone } from "react-dropzone"; import { tv } from "tailwind-variants"; -import { UploadedAsset, useAssetFileUpload } from "~/hooks/useAssetFileUpload"; +import type { UploadedAsset } from "~/hooks/useAssetFileUpload"; +import { useAssetFileUpload } from "~/hooks/useAssetFileUpload"; const dropzoneStyles = tv({ base: "flex flex-col items-center justify-center w-full h-64 border-2 border-dashed rounded-lg", diff --git a/apps/sovoli.com/src/app/(dashboard)/new/components/NoteForm.tsx b/apps/sovoli.com/src/app/(dashboard)/new/components/NoteForm.tsx index c8b760db..6ca794ed 100644 --- a/apps/sovoli.com/src/app/(dashboard)/new/components/NoteForm.tsx +++ b/apps/sovoli.com/src/app/(dashboard)/new/components/NoteForm.tsx @@ -6,11 +6,10 @@ import { Button } from "@sovoli/ui/components/button"; import { Form } from "@sovoli/ui/components/form"; import { Input } from "@sovoli/ui/components/input"; import { Spinner } from "@sovoli/ui/components/spinner"; -import { set } from "lodash"; import type { State } from "../actions/newNoteAction"; +import type { UploadedAsset } from "~/hooks/useAssetFileUpload"; import { Editor } from "~/components/Editor/Editor"; -import { UploadedAsset } from "~/hooks/useAssetFileUpload"; import { newNoteAction } from "../actions/newNoteAction"; import { AssetManager } from "./AssetManager";