Skip to content

Commit ab4381a

Browse files
committed
xo: Fix unicorn/prefer-global-this.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent d409a0b commit ab4381a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/renderer/js/pages/preference/preference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class PreferenceView {
9090
}
9191
}
9292

93-
window.location.hash = `#${navigationItem}`;
93+
location.hash = `#${navigationItem}`;
9494
};
9595

9696
handleToggleTray(state: boolean) {

0 commit comments

Comments
 (0)