From 6823caf1051bcbd7178aeb134cd8ace7536615ab Mon Sep 17 00:00:00 2001
From: Ahmad Mujahid <55625580+AhmadMuj@users.noreply.github.com>
Date: Tue, 18 Jun 2024 11:30:09 +0400
Subject: feature(web): support pasting image in the Editor Card (#228)

* feature: support pasting image in the textfield.

* minor tweaks

---------

Co-authored-by: Ahmad Mujahid <ahmad.h.mujahid@gmail.com>
Co-authored-by: MohamedBassem <me@mbassem.com>
---
 apps/web/components/dashboard/UploadDropzone.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/web/components/dashboard/UploadDropzone.tsx')

diff --git a/apps/web/components/dashboard/UploadDropzone.tsx b/apps/web/components/dashboard/UploadDropzone.tsx
index 60398ede..2807b892 100644
--- a/apps/web/components/dashboard/UploadDropzone.tsx
+++ b/apps/web/components/dashboard/UploadDropzone.tsx
@@ -17,7 +17,7 @@ import LoadingSpinner from "../ui/spinner";
 import { toast } from "../ui/use-toast";
 import BookmarkAlreadyExistsToast from "../utils/BookmarkAlreadyExistsToast";
 
-function useUploadAsset() {
+export function useUploadAsset() {
   const { mutateAsync: createBookmark } = useCreateBookmarkWithPostHook({
     onSuccess: (resp) => {
       if (resp.alreadyExists) {
-- 
cgit v1.2.3-70-g09d2

