Browse code

Correct table format (<thead> needs a single <tr> child)

Joseph Weston authored on 05/12/2021 22:22:06
Showing 1 changed files
... ...
@@ -69,9 +69,10 @@
69 69
         getters (map third pprops)]
70 70
     [:table {:class (styles/property-table)}
71 71
       [:thead
72
-       (for [[index attr heading] (enumerated attrs headings)]
73
-         ^{:key index}
74
-          [:th attr heading])]
72
+       [:tr
73
+        (for [[index attr heading] (enumerated attrs headings)]
74
+          ^{:key index}
75
+           [:th attr heading])]]
75 76
       [:tbody
76 77
        (for [[row-index item] (enumerated items)]
77 78
          ^{:key row-index}