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 incorrect type passed in trash
ammarahm-ed9b2cd1196e30
diff --git a/apps/mobile/src/views/Trash/index.js b/apps/mobile/src/views/Trash/index.jsindex 231e259a4..51e3ea6ba 100644--- a/apps/mobile/src/views/Trash/index.js+++ b/apps/mobile/src/views/Trash/index.js@@ -89,7 +89,8 @@ export const Trash = ({route, navigation}) => {export default Trash;const RenderItem = ({item, index}) => {- return item.type === 'note' ? (+ console.log(item.itemType);+ return item.itemType === 'note' ? (<NoteItemWrapper item={item} index={index} isTrash={true} />) : (<NotebookItemWrapper item={item} index={index} isTrash={true} />