Skip to content

Commit

Permalink
fix(notice-choice): switch attribute to snake case (#12147)
Browse files Browse the repository at this point in the history
### Related Ticket(s)

Follow up to #12127

### Description

Following convention, switch `current-language` attribute to snake case.

### Changelog

**Changed**

- Changed `currentLanguage` attribute in `<c4d-notice-choice>` component to snake case

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
  • Loading branch information
m4olivei authored Dec 5, 2024
1 parent 5dc558e commit ea9594e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class NoticeChoice extends StableSelectorMixin(LitElement) {
@property({ type: String, attribute: 'language' })
language = 'en';

@property({ type: String, attribute: 'currentLanguage' })
@property({ type: String, attribute: 'current-language' })
currentLanguage = 'en';

@property({ type: String, attribute: 'terms-condition-link' })
Expand Down

0 comments on commit ea9594e

Please sign in to comment.