Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
igorDykhta committed Jul 28, 2022
1 parent f156744 commit 787a4ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/side-panel/layer-panel/layer-column-config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ function LayerColumnConfigFactory(ColumnSelector: ReturnType<typeof ColumnSelect
},
[updateLayerConfig, columnPairs, assignColumnPairs, assignColumn]
);

if (!Object.keys(columns).length) {
// don't render if columns is empty
return <div />
return <div />;
}

return (
<div>
<SidePanelSection>
Expand Down

0 comments on commit 787a4ae

Please sign in to comment.