-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Reduce redundant calls to getActivatedEntryNumber in getEnt…
…ryHeading - Store the result of getActivatedEntryNumber in a local variable to avoid multiple method calls. - Simplified the conditional logic by reusing the stored variable. - Improves performance and code readability.
- Loading branch information
1 parent
6ff6235
commit 6e0a1ef
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters