Skip to content

Commit

Permalink
fix for doc declared but unused error
Browse files Browse the repository at this point in the history
  • Loading branch information
tmhglnd committed Jan 9, 2025
1 parent c5f0e03 commit 67f72b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/src/components/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const panicKeymap = (
: [];
};

const extraKeymap = ( doc: Document ) => {
const extraKeymap = () => {
return keymap.of([
// fixes the Cmd/Alt-/ issue for Spanish keyboards
{ key: 'Shift-Cmd-7', run: toggleLineComment },
Expand Down Expand Up @@ -99,7 +99,7 @@ const flokSetup = (
remoteEvalFlash(doc),
Prec.high(evalKeymap(doc, { defaultMode, web })),
panicKeymap(doc),
extraKeymap(doc),
extraKeymap(),
yCollab(text, doc.session.awareness, {
undoManager,
hideCaret: readOnly,
Expand Down

0 comments on commit 67f72b9

Please sign in to comment.