minor changes & cleanup

This commit is contained in:
ammarahm-ed
2020-05-14 14:52:43 +05:00
parent d904dbe7a2
commit 4de8506048
3 changed files with 5 additions and 2 deletions

View File

@@ -114,8 +114,6 @@ export class AddNotebookDialog extends React.Component {
setTimeout(async () => {
let {topics} = this.state;
let edit = this.props.toEdit;
console.log(this.title, "ELO");
if (!this.title || this.title.trim().length === 0)
return ToastEvent.show('Title is required', 'error', 'local');

View File

@@ -16,6 +16,7 @@ export const defaultState = {
tags: [],
colorNotes: [],
user: {},
premiumUser:false,
settings: {
showToolbarOnTop: false,
showKeyboardOnOpen: false,

View File

@@ -77,3 +77,7 @@ export const eSwitchNightMode = '537';
export const eStartSyncer = '538';
export const eSetModalNavigator = '539'
export const eOpenPremiumDialog = '540'
export const eClosePremiumDialog = '541'