Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Tiny fix for panel classnames
Browse files Browse the repository at this point in the history
no extra whitespaces
  • Loading branch information
hlomzik authored Jan 29, 2024
1 parent 411de56 commit cacc6ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Panel/Panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default observer(({ store }) => {
styles.block,
styles.block__controls,
store.annotationStore.viewingAll ? styles.hidden : '',
].join(' ');
].filter(Boolean).join(' ');

return (
<div className={styles.container + ' ls-panel'}>
Expand Down

0 comments on commit cacc6ad

Please sign in to comment.