mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 05:59:35 +01:00
do not load dialogs on init in memory
This commit is contained in:
@@ -59,13 +59,13 @@ export class AddTopicDialog extends React.Component {
|
||||
render() {
|
||||
const {visible, titleFocused} = this.state;
|
||||
const {colors, toEdit} = this.props;
|
||||
|
||||
if (!visible) return null;
|
||||
return (
|
||||
<BaseDialog
|
||||
onShow={() => {
|
||||
this.titleRef.current?.focus();
|
||||
}}
|
||||
visible={visible}
|
||||
visible={true}
|
||||
onRequestClose={this.close}>
|
||||
<View
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user