A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: handle date created & editor for new notes in properties
thecodrr83ba39a16d9f
diff --git a/apps/web/src/components/properties/index.js b/apps/web/src/components/properties/index.jsindex 68e60b21b..9c5292c80 100644--- a/apps/web/src/components/properties/index.js+++ b/apps/web/src/components/properties/index.js@@ -30,16 +30,16 @@ const metadataItems = [{key: "dateCreated",label: "Created at",- value: (date) => formatDate(date),+ value: (date) => formatDate(date || Date.now()),},{key: "dateEdited",label: "Last edited at",- value: (date) => formatDate(date),+ value: (date) => (date ? formatDate(date) : "-"),},];-function Properties({ noteId }) {+function Properties() {const [attachmentsStatus, setAttachmentsStatus] = useState({});const [versionHistory, setVersionHistory] = useState([]);