Skip to content

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

fix crash onLongPress

ammarahm-edcf8564f654d4
diff --git a/apps/mobile/src/views/Favorites/index.js b/apps/mobile/src/views/Favorites/index.js
index 746d4def2..e4ce492b1 100644
--- a/apps/mobile/src/views/Favorites/index.js
+++ b/apps/mobile/src/views/Favorites/index.js
@@ -10,7 +10,7 @@ import {useTracked} from '../../provider';
import {ACTIONS} from '../../provider/actions';
import {eSendEvent} from '../../services/eventManager';
import {eScrollEvent} from '../../services/events';
-import {ToastEvent} from '../../utils/utils';
+import {ToastEvent, w} from '../../utils/utils';
export const Favorites = ({navigation}) => {
const [state, dispatch] = useTracked();