Skip to content

Commit

Permalink
Fix 373-text-sidebar & main merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Lanza committed Sep 3, 2024
1 parent f85b831 commit 9d9ee44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/upset/src/components/custom/PlotInformation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const PlotInformation = ({
*/
const generatePlotInformationText: () => string = useCallback(() => {
// return default string if there are no values filled in
if (Object.values(plotInformation).filter((a) => a?.length > 0).length === 0) {
if (Object.values(plotInformation).filter((a) => a && a.length > 0).length === 0) {
return `This UpSet plot shows ${placeholderText.description}. The sets are ${placeholderText.sets}. The items are ${placeholderText.items}`;
}

Expand Down

0 comments on commit 9d9ee44

Please sign in to comment.