make all table texts clicable
This commit is contained in:
parent
cc7a08c52a
commit
836e874f22
1 changed files with 2 additions and 4 deletions
|
|
@ -5,11 +5,9 @@ export default function StringReader({
|
|||
}: {
|
||||
string: string;
|
||||
}): JSX.Element {
|
||||
return string.length > 10 ? (
|
||||
return (
|
||||
<TextModal value={string}>
|
||||
<span className="truncate">{string}</span>
|
||||
</TextModal>
|
||||
) : (
|
||||
<span className="truncate">{string}</span>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue