mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-26 22:43:32 +10:00
fix editor file handling
This commit is contained in:
@@ -4,7 +4,6 @@ import { uploadFile } from "@/features/page/services/page-service.ts";
|
||||
export const uploadImageAction = handleImageUpload({
|
||||
onUpload: async (file: File, pageId: string): Promise<any> => {
|
||||
try {
|
||||
console.log("dont upload");
|
||||
return await uploadFile(file, pageId);
|
||||
} catch (err) {
|
||||
console.error("failed to upload image", err);
|
||||
|
||||
Reference in New Issue
Block a user