Skip to content

Commit

Permalink
fixed extra classes attribute in ModalHeader.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
sreidthomas committed Aug 27, 2024
1 parent a29334e commit 412bf1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/atoms/ModalHeader/ModalHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class ModalHeader extends HTMLElement {

const btnDark = this.getAttribute('data-button-dark');

const extraClasses = this.getAttribute('extra-classes');
const extraClasses = this.getAttribute('data-extra-classes');

const modalHeaderClasses = ['modal-header'];
this.modalTitle.className = 'modal-title';
Expand Down

0 comments on commit 412bf1c

Please sign in to comment.