mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-08 09:34:16 +00:00
fix lint error
This commit is contained in:
parent
91c680daf3
commit
885ffd8953
|
@ -41,7 +41,8 @@ export let customEmojisLookup: Map<string, CustomEmojiView> = 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) {
|
||||
|
|
Loading…
Reference in a new issue