Skip to content

Commit

Permalink
style(micromark-extension-kbd-nested): remove a couple of unused vari…
Browse files Browse the repository at this point in the history
…ables
  • Loading branch information
shivjm committed Nov 2, 2021
1 parent 124cb84 commit 1094c49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/micromark-extension-kbd-nested/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const syntax = (options: IOptions = {}): Extension => {
return startData;
}

function startData(_code: Code): void | State {
function startData(): void | State {
effects.enter(KEYBOARD_TEXT_TYPE);
return data;
}
Expand Down Expand Up @@ -163,7 +163,6 @@ function makeClosingTokenizer(
): Tokenizer {
return function (effects, ok, nok) {
let current = 0;
const { events } = this;

function start(): void | State {
if (exitText) {
Expand Down

0 comments on commit 1094c49

Please sign in to comment.