narrow: Remove not required call to save_narrow.

Since we always call `deactivate` from `hashchange`,
`browser_history.state.changing_hash` is always `true` and hence
`save_narrow` just retuns without doing anything.
This commit is contained in:
Aman Agrawal 2024-01-22 13:02:12 +00:00 committed by Tim Abbott
parent eaafaba482
commit adedc0283f
1 changed files with 0 additions and 1 deletions

View File

@ -1118,7 +1118,6 @@ export function deactivate() {
reset_ui_state(); reset_ui_state();
compose_recipient.handle_middle_pane_transition(); compose_recipient.handle_middle_pane_transition();
save_narrow();
if (message_lists.current.selected_id() !== -1) { if (message_lists.current.selected_id() !== -1) {
const preserve_pre_narrowing_screen_position = const preserve_pre_narrowing_screen_position =