Skip to content

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

mobile: fix moving notebook on ios

Ammar Ahmed43fac79011e1
diff --git a/apps/mobile/app/components/sheets/move-notebook/index.tsx b/apps/mobile/app/components/sheets/move-notebook/index.tsx
index 35e481a42..f42fa2010 100644
--- a/apps/mobile/app/components/sheets/move-notebook/index.tsx
+++ b/apps/mobile/app/components/sheets/move-notebook/index.tsx
@@ -84,7 +84,7 @@ export const MoveNotebookSheet = ({
}
}
})();
- }, []);
+ }, [selectedNotebooks]);
const renderItem = useCallback(
({ index }: { index: number }) => {