Skip to content

Commit 1a01adc

Browse files
committed
cleanup
1 parent 9869507 commit 1a01adc

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

client/src/views/PostFormView.vue

-9
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@
245245
font-family: "Courier New", Courier, monospace;
246246
font-size: 0.75rem;
247247
padding: 3px 0px 0 5px !important;
248-
/*border-radius: 0;*/
249248
}
250249
251250
.ti-deletion-mark {
@@ -406,14 +405,6 @@ const processAttachments = (attachments: Attachment[]) => {
406405
});
407406
};
408407
409-
// Create a computed property to generate URLs for the files
410-
const filesWithUrls = computed(() => {
411-
return Object.entries(files).reduce((acc, [sha256, file]) => {
412-
acc[sha256] = file;
413-
return acc;
414-
}, {} as { [sha256: string]: File });
415-
});
416-
417408
const pasteImageFileToMarkdown = (markdown: string, insertPosition: SupportedInsertPositionType = "afterCursor") => {
418409
form.markdown = insertIntoTextarea(markdown, markdownArea.value as unknown as HTMLTextAreaElement, insertPosition);
419410
};

0 commit comments

Comments
 (0)