Skip to content

Commit

Permalink
[Release] Stage to Main (#2332)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blainegunn authored May 20, 2024
2 parents 5a5a365 + 88bd015 commit 24b60df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/share/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default async function decorate(block) {
const platforms = getPlatforms(block);
const rows = block.querySelectorAll(':scope > div');
const childDiv = rows[0]?.querySelector(':scope > div');
const emptyRow = rows.lengh && childDiv?.innerText.trim() === '';
const emptyRow = rows.length && childDiv?.innerText.trim() === '';
const toSentenceCase = (str) => {
if (!str || typeof str !== 'string') return '';
/* eslint-disable-next-line no-useless-escape */
Expand Down

0 comments on commit 24b60df

Please sign in to comment.