Skip to content

Fix spelling error in Logo component acronym attribute#179

Open
DeveloperBatuhanALGUL wants to merge 1 commit into
swiss:mainfrom
DeveloperBatuhanALGUL:bugfix/30-logo-acronym-typo
Open

Fix spelling error in Logo component acronym attribute#179
DeveloperBatuhanALGUL wants to merge 1 commit into
swiss:mainfrom
DeveloperBatuhanALGUL:bugfix/30-logo-acronym-typo

Conversation

@DeveloperBatuhanALGUL

Copy link
Copy Markdown

Closes #30.

The Logo component's accronym attribute is misspelled (should be acronym, no double c).

This PR adds a new acronym prop alongside the existing accronym prop, with a computed fallback (acronymValue) that prefers the new name but falls back to the old one. This avoids a breaking change for any site already using the misspelled attribute.

Internal usages (TopHeader.vue, Logo.stories.js) are updated to the corrected name.

Verified with nuxi typecheck and eslint — no new errors introduced (pre-existing unrelated type errors in other files are untouched).

The Logo component exposed an attribute named 'accronym' (double c), which is a misspelling of 'acronym'. Closes swiss#30.

This adds a new 'acronym' prop alongside the existing 'accronym' prop. A computed value (acronymValue) reads the new prop first and falls back to the old one, so existing consumers passing accronym keep working unchanged.

Internal usages in TopHeader.vue and Logo.stories.js are updated to use the corrected 'acronym' name.

The old 'accronym' prop is left in place, deprecated but functional, to avoid a breaking change for any external site already using this component.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logo component: Spelling error in attribute

1 participant