Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix state update

ammarahm-edd4ec67ee21a0
diff --git a/apps/mobile/app/components/list-items/note/index.js b/apps/mobile/app/components/list-items/note/index.js
index 2658af984..1a49da06a 100644
--- a/apps/mobile/app/components/list-items/note/index.js
+++ b/apps/mobile/app/components/list-items/note/index.js
@@ -93,7 +93,7 @@ const NoteItem = ({
const notebooks = React.useMemo(() => getNotebook(item), [item]);
const reminders = db.relations.from(item, "reminder");
const current = getUpcomingReminder(reminders);
- useRelationStore((state) => state.updater);
+ const _update = useRelationStore((state) => state.updater);
return (
<>