Skip to content

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

mobile: fix randId function duplicate

Ammar Ahmedba7b88f5d8b4
diff --git a/packages/editor-mobile/src/utils/index.ts b/packages/editor-mobile/src/utils/index.ts
index b2eb335fb..9d569619a 100644
--- a/packages/editor-mobile/src/utils/index.ts
+++ b/packages/editor-mobile/src/utils/index.ts
@@ -26,11 +26,6 @@ globalThis.sessionId = "notesnook-editor";
globalThis.pendingResolvers = {};
globalThis.pendingResolvers = {};
-export function randId(prefix: string) {
- return Math.random()
- .toString(36)
- .replace("0.", prefix || "");
-}
export type SafeAreaType = {
top: number;