diff --git a/src/components/output_table.tsx b/src/components/output_table.tsx index 6f162ff..fb4b4ef 100644 --- a/src/components/output_table.tsx +++ b/src/components/output_table.tsx @@ -67,32 +67,42 @@ export function OutputTable(props: { currentString: string }) { } } + let table; + + if (rows.length > 0) { + table = ( + + + + + + + + + + + + + + + + + + + + + {rows} + +
NameCodeUTF-8UTF-16LECategoryCombiningBidirectionalMirroredDecompUpperLowerTitleNumeric
+ ); + } else { + table = (<>); + } + return (
- - - - - - - - - - - - - - - - - - - - - {rows} - -
NameCodeUTF-8UTF-16LECategoryCombiningBidirectionalMirroredDecompUpperLowerTitleNumeric
+ {table}
);