Skip to content

Commit c8574fa

Browse files
Update src/components/EventCard.tsx
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
1 parent f4c52f6 commit c8574fa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/components/EventCard.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ const EventCard = ({
4040
new Date(endDate?.replace(/-/g, "/"))
4141
)
4242

43-
const MAX_DESCRIPTION_CHARS = 230
44-
const truncatedDescription =
45-
description.length > MAX_DESCRIPTION_CHARS
46-
? `${description.slice(0, MAX_DESCRIPTION_CHARS)}...`
47-
: description
48-
4943
return (
5044
<Box
5145
className={className}

0 commit comments

Comments
 (0)