diff options
| author | Ahmad Mujahid <55625580+AhmadMuj@users.noreply.github.com> | 2024-06-18 11:30:09 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-18 08:30:09 +0100 |
| commit | 6823caf1051bcbd7178aeb134cd8ace7536615ab (patch) | |
| tree | 9cd0050dbbb23ea2c83e56e059b15c455a170963 /apps/web/components/dashboard/UploadDropzone.tsx | |
| parent | 219329b2a60d3aa0b8cda50318ebb4851f12dbdd (diff) | |
| download | karakeep-6823caf1051bcbd7178aeb134cd8ace7536615ab.tar.zst | |
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>
Diffstat (limited to 'apps/web/components/dashboard/UploadDropzone.tsx')
| -rw-r--r-- | apps/web/components/dashboard/UploadDropzone.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
