Skip to content

Commit 177655e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5ffe51f commit 177655e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/plugins/layout/StatPlugin.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import { useLocale } from "react-aria";
66
import { z } from "zod";
77
import { getMimeValues } from "@/components/data-table/mime-cell";
88
import { cn } from "@/utils/cn";
9+
import { Logger } from "@/utils/Logger";
910
import { prettyNumber } from "@/utils/numbers";
11+
import { renderHTML } from "../core/RenderHTML";
1012
import type {
1113
IStatelessPlugin,
1214
IStatelessPluginProps,
1315
} from "../stateless-plugin";
14-
import { renderHTML } from "../core/RenderHTML";
15-
import { Logger } from "@/utils/Logger";
1616

1717
interface Data {
1818
value?: string | number | boolean | null;
@@ -82,9 +82,9 @@ export const StatComponent: React.FC<Data> = ({
8282
if (mimeValues?.[0]) {
8383
const { mimetype, data } = mimeValues[0];
8484
if (mimetype !== "text/html") {
85-
Logger.warn(`Expected text/html, got ${mimetype}`)
85+
Logger.warn(`Expected text/html, got ${mimetype}`);
8686
}
87-
return renderHTML({ html: data, alwaysSanitizeHtml: true})
87+
return renderHTML({ html: data, alwaysSanitizeHtml: true });
8888
}
8989
};
9090

0 commit comments

Comments
 (0)