Skip to content

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

remove refs from func components

ammarahm-ed45ce822b4393
diff --git a/apps/mobile/src/components/DialogManager/index.js b/apps/mobile/src/components/DialogManager/index.js
index a09bff34b..a382d5860 100644
--- a/apps/mobile/src/components/DialogManager/index.js
+++ b/apps/mobile/src/components/DialogManager/index.js
@@ -339,7 +339,7 @@ export class DialogManager extends Component {
<VaultDialog colors={colors} />
<MoveNoteDialog
- ref={ref => (this.moveNoteDialog = ref)}
+
colors={colors}
/>
@@ -360,7 +360,7 @@ export class DialogManager extends Component {
/>
<PremiumDialog ref={ref => this.premiumDialog = ref} colors={colors} />
- <LoginDialog colors={colors} ref={ref => (this.loginDialog = ref)} />
+ <LoginDialog colors={colors} />
<MergeEditor />