diff --git a/src/ts/component/menu/help.tsx b/src/ts/component/menu/help.tsx index 1479decd20..9631982f06 100644 --- a/src/ts/component/menu/help.tsx +++ b/src/ts/component/menu/help.tsx @@ -72,7 +72,6 @@ class MenuHelp extends React.Component { return [ { id: 'whatsNew', document: 'whatsNew', caption: btn }, { id: 'shortcut', caption: 'Ctrl+Space' }, - // { id: 'hints' }, { isDiv: true }, { id: 'gallery' }, { id: 'community' }, @@ -131,37 +130,6 @@ class MenuHelp extends React.Component { break; }; - case 'hints': { - const isPopup = keyboard.isPopup(); - const rootId = keyboard.getRootId(); - const isEditor = keyboard.isMainEditor(); - const isSet = keyboard.isMainSet(); - - let key = ''; - - if (isEditor && home && (rootId == home.id)) { - key = 'basics'; - } else - if (isSet) { - key = 'mainSet'; - } else - if (isEditor) { - key = S.Block.checkBlockTypeExists(rootId) ? 'objectCreationStart' : 'basics'; - } else - if (isGraph) { - key = 'mainGraph'; - } else { - const { page, action } = keyboard.getMatch().params; - - key = U.Common.toCamelCase([ page, action ].join('-')); - }; - - if (key) { - Onboarding.start(key, isPopup, true); - }; - break; - }; - }; };