mishig HF staff commited on
Commit
8b6353f
1 Parent(s): 283bd45
src/lib/components/InferencePlayground/InferencePlaygroundModelSelectorModal.svelte CHANGED
@@ -13,7 +13,6 @@
13
  const dispatch = createEventDispatcher<{ modelSelected: string; close: void }>();
14
 
15
  function handleKeydown(event: KeyboardEvent) {
16
- // close on ESC
17
  if (event.key === "Escape") {
18
  event.preventDefault();
19
  dispatch("close");
 
13
  const dispatch = createEventDispatcher<{ modelSelected: string; close: void }>();
14
 
15
  function handleKeydown(event: KeyboardEvent) {
 
16
  if (event.key === "Escape") {
17
  event.preventDefault();
18
  dispatch("close");