Add g+e keyboard shortcut for /explore (trending) (#38014)
This commit is contained in:
1 parent
f953d40289
commit
87004ddb96
5 files changed
+17
No files matched your search
@@ -534,6 +534,10 @@ class UI extends PureComponent {
|
||||
this.props.history.push('/home');
|
||||
};
|
||||
|
||||
handleHotkeyGoToExplore = () => {
|
||||
this.props.history.push('/explore');
|
||||
};
|
||||
|
||||
handleHotkeyGoToNotifications = () => {
|
||||
this.props.history.push('/notifications');
|
||||
};
|
||||
@@ -595,6 +599,7 @@ class UI extends PureComponent {
|
||||
moveToTop: this.handleMoveToTop,
|
||||
back: this.handleHotkeyBack,
|
||||
goToHome: this.handleHotkeyGoToHome,
|
||||
goToExplore: this.handleHotkeyGoToExplore,
|
||||
goToNotifications: this.handleHotkeyGoToNotifications,
|
||||
goToLocal: this.handleHotkeyGoToLocal,
|
||||
goToFederated: this.handleHotkeyGoToFederated,
|
||||
|
||||
Reference in new issue
Block a user