Skip to content

Commit 25a9f11

Browse files
fix(ui): use canonical utf16 truncator import
1 parent eb7193a commit 25a9f11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/lib/presenter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { truncateUtf16Safe } from "@openclaw/normalization-core/utf16-slice";
12
import type { CronJob, GatewaySessionRow, PresenceEntry } from "../api/types.ts";
23
// Control UI module implements presenter behavior.
34
import { t } from "../i18n/index.ts";
@@ -8,7 +9,6 @@ import {
89
formatDurationHuman,
910
formatMs,
1011
formatUnknownText,
11-
truncateUtf16Safe,
1212
} from "../lib/format.ts";
1313

1414
export function formatPresenceAge(entry: PresenceEntry): string {

0 commit comments

Comments
 (0)