Skip to content

DEV: Replace deprecated firstObject with array indexing in docs-topic.gjs - #222

Merged
megothss merged 1 commit into
mainfrom
dev/remove-last-ember-array-methods
Dec 2, 2025
Merged

DEV: Replace deprecated firstObject with array indexing in docs-topic.gjs#222
megothss merged 1 commit into
mainfrom
dev/remove-last-ember-array-methods

Conversation

@megothss

@megothss megothss commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

Update the docs-topic.gjs file to replace the deprecated firstObject method with standard array indexing. This change enhances code compatibility with newer Ember versions and maintains functionality by directly accessing the first element of the posts array.

…pic.gjs`

Update the `docs-topic.gjs` file to replace the deprecated `firstObject` method with standard array indexing. This change enhances code compatibility with newer Ember versions and maintains functionality by directly accessing the first element of the `posts` array.
@megothss
megothss merged commit f755032 into main Dec 2, 2025
5 checks passed
@megothss
megothss deleted the dev/remove-last-ember-array-methods branch December 2, 2025 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants