diff --git a/apps/mobile/app/hooks/use-app-events.tsx b/apps/mobile/app/hooks/use-app-events.tsx index 89d82110a..e7101a7e3 100644 --- a/apps/mobile/app/hooks/use-app-events.tsx +++ b/apps/mobile/app/hooks/use-app-events.tsx @@ -44,8 +44,7 @@ import RNBootSplash from "react-native-bootsplash"; import { checkVersion } from "react-native-check-version"; import Config from "react-native-config"; import * as RNIap from "react-native-iap"; - -import { User } from "@notesnook/core/dist/api/user-manager"; +import { User } from "@notesnook/core"; import { EventManagerSubscription } from "@notesnook/core/dist/utils/event-manager"; //@ts-ignore import { enabled } from "react-native-privacy-snapshot"; diff --git a/apps/mobile/app/services/backup.js b/apps/mobile/app/services/backup.js index 0d3e6ce32..e5f8c6506 100644 --- a/apps/mobile/app/services/backup.js +++ b/apps/mobile/app/services/backup.js @@ -149,9 +149,8 @@ async function updateNextBackupTime() { }); } /** - * - * @param {boolean} progress - * @param {string} context + * @param {boolean=} progress + * @param {string=} context * @returns {Promise<{path?: string, error?: Error}}> */ async function run(progress = false, context) { diff --git a/apps/mobile/app/stores/use-message-store.ts b/apps/mobile/app/stores/use-message-store.ts index 172fb6ef8..2e48c77d5 100644 --- a/apps/mobile/app/stores/use-message-store.ts +++ b/apps/mobile/app/stores/use-message-store.ts @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -import { User } from "@notesnook/core/dist/api/user-manager"; +import { User } from "@notesnook/core"; import { Platform } from "react-native"; import { getVersion } from "react-native-device-info"; import create, { State } from "zustand";