minor updates
This commit is contained in:
@@ -3,7 +3,7 @@ import destr from "destr";
|
||||
import { nip19 } from "nostr-tools";
|
||||
|
||||
export function truncateContent(str, n) {
|
||||
return str.length > n ? `${str.slice(0, n - 1)}…` : str;
|
||||
return str.length > n ? `${str.slice(0, n - 1)}...` : str;
|
||||
}
|
||||
|
||||
export function setToArray(tags: any) {
|
||||
|
||||
Reference in New Issue
Block a user