🐛 fix: Fix text truncation in TableRow component

This commit is contained in:
Martial BE 2024-04-07 10:18:56 +08:00
parent f3c7721307
commit 986284d47d
No known key found for this signature in database
GPG Key ID: D06C32DF0EDB9084

View File

@ -50,7 +50,7 @@ async function downloadImage(url, filename) {
}
function TruncatedText(text) {
const truncatedText = text.length > 30 ? text.substring(0, 100) + '...' : text;
const truncatedText = text.length > 30 ? text.substring(0, 30) + '...' : text;
return (
<Tooltip