@@ -25,10 +25,6 @@ import Modal from "../../../../../Modal";
25
25
import PlatformPeg from "../../../../../PlatformPeg" ;
26
26
import UpdateCheckButton from "../../UpdateCheckButton" ;
27
27
import BugReportDialog from "../../../dialogs/BugReportDialog" ;
28
- import { OpenToTabPayload } from "../../../../../dispatcher/payloads/OpenToTabPayload" ;
29
- import { Action } from "../../../../../dispatcher/actions" ;
30
- import { UserTab } from "../../../dialogs/UserTab" ;
31
- import dis from "../../../../../dispatcher/dispatcher" ;
32
28
import CopyableText from "../../../elements/CopyableText" ;
33
29
import SettingsTab from "../SettingsTab" ;
34
30
import { SettingsSection } from "../../shared/SettingsSection" ;
@@ -232,13 +228,6 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
232
228
return `${ appVersion } \n${ olmVersion } ` ;
233
229
} ;
234
230
235
- private onKeyboardShortcutsClicked = ( ) : void => {
236
- dis . dispatch < OpenToTabPayload > ( {
237
- action : Action . ViewUserSettings ,
238
- initialTabId : UserTab . Keyboard ,
239
- } ) ;
240
- } ;
241
-
242
231
public render ( ) : React . ReactNode {
243
232
const brand = SdkConfig . get ( ) . brand ;
244
233
@@ -336,11 +325,7 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
336
325
< SettingsTab >
337
326
< SettingsSection heading = { _t ( "Help & About" ) } >
338
327
{ bugReportingSection }
339
- < SettingsSubsection heading = { _t ( "FAQ" ) } description = { faqText } >
340
- < AccessibleButton kind = "primary" onClick = { this . onKeyboardShortcutsClicked } >
341
- { _t ( "Keyboard Shortcuts" ) }
342
- </ AccessibleButton >
343
- </ SettingsSubsection >
328
+ < SettingsSubsection heading = { _t ( "FAQ" ) } description = { faqText } />
344
329
< SettingsSubsection heading = { _t ( "Versions" ) } >
345
330
< SettingsSubsectionText >
346
331
< CopyableText getTextToCopy = { this . getVersionTextToCopy } >
0 commit comments