chore: format

This commit is contained in:
Nate 2025-10-17 09:38:53 -07:00
parent fef5ed7404
commit 80f9b49491

View file

@ -10,7 +10,10 @@ const truncateDescription = (description: string): string => {
if (description.length <= MAX_DESCRIPTION_LENGTH) {
return description;
}
return Array.from(description).slice(0, MAX_DESCRIPTION_LENGTH).join("").trim() + "…";
return (
Array.from(description).slice(0, MAX_DESCRIPTION_LENGTH).join("").trim() +
"…"
);
};
interface SlashCommandUIProps {