Fix all settings button opening sidebar settings tab (#7765)

pull/21833/head
Charlie Calendre 2022-02-09 13:09:52 +01:00 committed by GitHub
parent 714136d4f7
commit 254dbeeccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -63,10 +63,7 @@ const QuickSettingsButton = ({ isPanelCollapsed = false }) => {
<AccessibleButton
onClick={() => {
closeMenu();
defaultDispatcher.dispatch({
action: Action.ViewUserSettings,
initialTabId: UserTab.Sidebar,
});
defaultDispatcher.dispatch({ action: Action.ViewUserSettings });
}}
kind="primary_outline"
>