From 885ffd8953ed9952f07a798e3af5e091cd69666a Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:04:30 -0400 Subject: [PATCH] fix lint error --- src/shared/markdown.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/markdown.ts b/src/shared/markdown.ts index 7a3788aa..2c1addf2 100644 --- a/src/shared/markdown.ts +++ b/src/shared/markdown.ts @@ -41,7 +41,8 @@ export let customEmojisLookup: Map = new Map< >(); if (isBrowser()) { - Tribute = await import("tributejs"); + // eslint-disable-next-line @typescript-eslint/no-require-imports + Tribute = require("tributejs"); } export function mdToHtml(text: string, rerender: () => void) {