Skip to content

Commit

Permalink
Remove unnecessary type import, fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaindik committed Dec 24, 2024
1 parent 51ab627 commit 4f1f40c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import type {
HunkTokens,
} from 'react-diff-view';
import unidiff from 'unidiff';
import type { Change } from 'diff';
import { useEuiTheme, COLOR_MODES_STANDARD } from '@elastic/eui';
import { Hunks } from './hunks';
import { markEdits, DiffMethod } from './mark_edits';
Expand Down Expand Up @@ -89,7 +88,7 @@ const useTokens = (

try {
/*
Synchroniously apply all the enhancers to the hunks and return an array of tokens.
Synchronously apply all the enhancers to the hunks and return an array of tokens.
*/
return tokenize(hunks, options);
} catch (ex) {
Expand Down

0 comments on commit 4f1f40c

Please sign in to comment.