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 = (
+
+
+
+ |
+ Name |
+ Code |
+ UTF-8 |
+ UTF-16LE |
+ Category |
+ Combining |
+ Bidirectional |
+ Mirrored |
+ Decomp |
+ Upper |
+ Lower |
+ Title |
+ Numeric |
+
+
+
+ {rows}
+
+
+ );
+ } else {
+ table = (<>>);
+ }
+
return (
-
-
-
- |
- Name |
- Code |
- UTF-8 |
- UTF-16LE |
- Category |
- Combining |
- Bidirectional |
- Mirrored |
- Decomp |
- Upper |
- Lower |
- Title |
- Numeric |
-
-
-
- {rows}
-
-
+ {table}
);