Skip to content

Commit

Permalink
chore: lint fix - ignore race conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
ctot-nondef committed Oct 31, 2023
1 parent 5fa69cb commit a731643
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/composables/useKeywordInContextSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ export function useKeywordInContextSearch() {
});
const keywordInContext = data.value as KeywordInContextData;
// console.log('keywordInContext', { keywordInContext: keywordInContext.value });

// eslint-disable-next-line require-atomic-updates
query.data.keywordInContext = keywordInContext.Lines.map(
// eslint-disable-line require-atomic-updates
({ Tbl_refs, Left, Kwic, toknum, Right }) => ({
// this mapping is directly taken from the ancient code
date: Tbl_refs[1] ?? "",
Expand Down

0 comments on commit a731643

Please sign in to comment.