Skip to content

Commit

Permalink
fix: Config page fails to load (#2531)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishBarvaliya authored Feb 29, 2024
1 parent d12e909 commit d721b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Toolbar/Toolbar.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const Toolbar = props => {
</div>
</div>
</div>
{props.selectedData.length ? <Stats data={props.selectedData} /> : null}
{props?.selectedData?.length ? <Stats data={props.selectedData} /> : null}
<div className={styles.actions}>{props.children}</div>
</div>
);
Expand Down

0 comments on commit d721b7c

Please sign in to comment.