Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
maxatdetroit committed Jul 29, 2024
1 parent 6b54af2 commit 36a0cf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/organisms/ArticleCard/ArticleCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ class ArticleCard extends HTMLElement {

attributeChangedCallback(name, oldValue, newValue) {
switch (name) {
case ('show'):
{
case 'show': {
const textContainer = this.shadowRoot.querySelector('.text-container');
if (newValue !== null) {
textContainer?.classList.add('show');
Expand Down

0 comments on commit 36a0cf4

Please sign in to comment.