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
hotfix: crash when moving an item to trash
thecodrr9094da080597
diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.jsindex de209523f..853eba560 100644--- a/apps/web/src/components/note/index.js+++ b/apps/web/src/components/note/index.js@@ -162,6 +162,8 @@ function Note(props) {export default React.memo(Note, function (prevProps, nextProps) {const prevItem = prevProps.item;const nextItem = nextProps.item;+ // TODO need to investigate why a crash happens here.+ if (!prevItem || !nextItem) return true;return (prevItem.pinned === nextItem.pinned &&prevItem.favorite === nextItem.favorite &&