Skip to content

Commit 1e2240e

Browse files
committed
Fixed table header for Lookers
1 parent 7abddfa commit 1e2240e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/components/Looker/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ export default function Looker(props) {
7171
cols.map((c) => {
7272
const name = c.headerName;
7373
const { styles } = c;
74-
return (
74+
return name ? (
7575
<th key={name} style={styles}>{ name }</th>
76-
);
76+
) : null;
7777
})
7878

7979
}

0 commit comments

Comments
 (0)