diff --git a/src/assets/javascripts/integrations/clipboard/index.ts b/src/assets/javascripts/integrations/clipboard/index.ts index 40c1e1500..3e8ce2714 100644 --- a/src/assets/javascripts/integrations/clipboard/index.ts +++ b/src/assets/javascripts/integrations/clipboard/index.ts @@ -66,7 +66,10 @@ export function setupClipboard( blocks.forEach((block, index) => { const parent = block.parentElement! parent.id = `__code_${index}` - parent.insertBefore(renderClipboardButton(parent.id), block) + parent.insertBefore( + renderClipboardButton(parent.id), + block + ) }) }) diff --git a/src/assets/javascripts/integrations/search/worker/_/index.ts b/src/assets/javascripts/integrations/search/worker/_/index.ts index d9e8ca709..3547bf1be 100644 --- a/src/assets/javascripts/integrations/search/worker/_/index.ts +++ b/src/assets/javascripts/integrations/search/worker/_/index.ts @@ -29,6 +29,7 @@ import { } from "rxjs/operators" import { WorkerHandler, watchWorker } from "browser" +import { translate } from "utilities" import { SearchIndex, SearchIndexPipeline } from "../../_" import { @@ -37,7 +38,6 @@ import { SearchSetupMessage, isSearchResultMessage } from "../message" -import { translate } from "utilities" /* ---------------------------------------------------------------------------- * Helper types