mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 04:11:12 +00:00
fix lint error
This commit is contained in:
parent
91c680daf3
commit
885ffd8953
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ export let customEmojisLookup: Map<string, CustomEmojiView> = new Map<
|
||||||
>();
|
>();
|
||||||
|
|
||||||
if (isBrowser()) {
|
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) {
|
export function mdToHtml(text: string, rerender: () => void) {
|
||||||
|
|
Loading…
Reference in a new issue