fix cmd + , not opening settings (#3694)

This commit is contained in:
Zane
2025-07-28 14:17:15 -07:00
committed by GitHub
parent 829311ad08
commit c7425694f8
+2 -2
View File
@@ -1156,9 +1156,9 @@ export default function App() {
);
if (section && newView === 'settings') {
window.history.replaceState({}, '', `/settings?section=${section}`);
window.location.hash = `#/settings?section=${section}`;
} else {
window.history.replaceState({}, '', `/${newView}`);
window.location.hash = `#/${newView}`;
}
};
const urlParams = new URLSearchParams(window.location.search);