Skip to content

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

fix list not updating on change

ammarahm-ed9a22146e22da
diff --git a/apps/mobile/src/views/Favorites/index.js b/apps/mobile/src/views/Favorites/index.js
index 8706ac578..c4f31e190 100644
--- a/apps/mobile/src/views/Favorites/index.js
+++ b/apps/mobile/src/views/Favorites/index.js
@@ -10,7 +10,6 @@ import SearchService from '../../services/SearchService';
import {eScrollEvent} from '../../utils/Events';
export const Favorites = ({route, navigation}) => {
const [state, dispatch] = useTracked();
- state.favorites.indexOf();
const favorites = state.favorites;
const {loading} = state;
diff --git a/apps/mobile/src/views/Folders/index.js b/apps/mobile/src/views/Folders/index.js
index 3c80a4ccc..0e748f7b9 100644
--- a/apps/mobile/src/views/Folders/index.js
+++ b/apps/mobile/src/views/Folders/index.js
@@ -14,7 +14,6 @@ import {DDS} from '../../services/DeviceDetection';
export const Folders = ({route, navigation}) => {
const [state, dispatch] = useTracked();
- state.notebooks.indexOf();
const notebooks = state.notebooks;
let pageIsLoaded = false;
diff --git a/apps/mobile/src/views/Home/index.js b/apps/mobile/src/views/Home/index.js
index 78d504dda..da0c349b2 100755
--- a/apps/mobile/src/views/Home/index.js
+++ b/apps/mobile/src/views/Home/index.js
@@ -15,7 +15,6 @@ import {tabBarRef} from '../../utils/Refs';
export const Home = ({route, navigation}) => {
const [state, dispatch] = useTracked();
const {loading} = state;
- state.notes.indexOf();
const notes = state.notes;
let pageIsLoaded = false;
diff --git a/apps/mobile/src/views/Tags/index.js b/apps/mobile/src/views/Tags/index.js
index 0a2b8f435..502f3c280 100644
--- a/apps/mobile/src/views/Tags/index.js
+++ b/apps/mobile/src/views/Tags/index.js
@@ -11,7 +11,6 @@ import {eScrollEvent} from '../../utils/Events';
export const Tags = ({route, navigation}) => {
const [state, dispatch] = useTracked();
- state.tags.indexOf();
const tags = state.tags;
let pageIsLoaded = false;
diff --git a/apps/mobile/src/views/Trash/index.js b/apps/mobile/src/views/Trash/index.js
index 8d46a86ec..a42216f26 100644
--- a/apps/mobile/src/views/Trash/index.js
+++ b/apps/mobile/src/views/Trash/index.js
@@ -14,7 +14,6 @@ import {eScrollEvent} from '../../utils/Events';
export const Trash = ({route, navigation}) => {
const [state, dispatch] = useTracked();
- state.trash.indexOf();
const trash = state.trash;
let pageIsLoaded = false;