mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
remove refs from func components
This commit is contained in:
@@ -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 />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user