Skip to content

Commit 5dbcf44

Browse files
committed
format
1 parent f5f3d64 commit 5dbcf44

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/site-kit/src/lib/search/SearchBox.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,11 @@ It appears when the user clicks on the `Search` component or presses the corresp
127127

128128
<svelte:window
129129
onkeydown={(e) => {
130-
if (e.key === 'k' && !e.shiftKey && (navigator.platform === 'MacIntel' ? e.metaKey : e.ctrlKey)) {
130+
if (
131+
e.key === 'k' &&
132+
!e.shiftKey &&
133+
(navigator.platform === 'MacIntel' ? e.metaKey : e.ctrlKey)
134+
) {
131135
e.preventDefault();
132136
search.query = '';
133137

0 commit comments

Comments
 (0)