TagSpaces is an offline, open source, document manager with tagging support
fix duplicate new file template
sytolk04c5f33b88fd
diff --git a/src/renderer/components/dialogs/NewFileDialog.tsx b/src/renderer/components/dialogs/NewFileDialog.tsxindex 1e1806fb9..90088ef72 100644--- a/src/renderer/components/dialogs/NewFileDialog.tsx+++ b/src/renderer/components/dialogs/NewFileDialog.tsx@@ -69,15 +69,7 @@ function NewFileDialog(props: Props) {AppConfig.endTagContainer,);- const fileContent = useRef<string>(- fileType === 'txt' || fileType === 'md'- ? 'Created in ' +- versionMeta.name +- ' on ' +- new Date().toISOString().substring(0, 10) +- '.'- : '',- );+ const fileContent = useRef<string>('');function getFileType() {if (fileType === 'txt') {