Backspace hotkey should override default behaviour (#32826)

pull/32830/head
Christian Schmidt 6 months ago committed by GitHub
parent e22ec25077
commit 157fba4698
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -482,7 +482,9 @@ class UI extends PureComponent {
} }
}; };
handleHotkeyBack = () => { handleHotkeyBack = e => {
e.preventDefault();
const { history } = this.props; const { history } = this.props;
if (history.location?.state?.fromMastodon) { if (history.location?.state?.fromMastodon) {

Loading…
Cancel
Save