Skip to content

Commit

Permalink
Fix a bit of the social stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
bstopp committed Jan 18, 2024
1 parent 1f899a6 commit 32ba073
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cigaradvisor/blocks/article-list/article-list.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default async function decorate(block) {
block.innerHTML = '';
}
4 changes: 3 additions & 1 deletion cigaradvisor/blocks/author-detail/author-detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export default async function decorate(block) {
let icon;
switch (textToClass) {
case 'twitter':
icon = 'twitter';
case 'x':
case 'x-twitter':
icon = 'x-twitter';
break;
case 'facebook':
icon = 'facebook-f';
Expand Down

0 comments on commit 32ba073

Please sign in to comment.