fix: Truncate board name if longer than 20 chars

This commit is contained in:
blessedcoolant 2023-07-21 00:03:10 +12:00 committed by psychedelicious
parent da523fa32f
commit d523556558

View File

@ -58,7 +58,9 @@ const GalleryBoardName = (props: Props) => {
}, },
}} }}
> >
{boardName} {boardName.length > 20
? `${boardName.substring(0, 20)}...`
: boardName}
</Text> </Text>
</Box> </Box>
<Spacer /> <Spacer />