[Fix] Rename LOGO_IMAGE to LogoImage to resolve react-doctor/jsx-pascal-case warning#10478
Open
NethmikaKekuu wants to merge 2 commits into
Open
[Fix] Rename LOGO_IMAGE to LogoImage to resolve react-doctor/jsx-pascal-case warning#10478NethmikaKekuu wants to merge 2 commits into
NethmikaKekuu wants to merge 2 commits into
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughRenames the local logo helper component in ChangesJSX PascalCase rename
Suggested reviewers
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
coderabbitai
Bot
requested review from
JayaShakthi97,
Lakshan-Banneheke and
lashinijay
June 28, 2026 10:21
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Fixes
react-doctor/jsx-pascal-casearchitecture warning by renaming theLOGO_IMAGEcomponent toLogoImagein the header component.JSX component names must be in PascalCase so React can distinguish them from
native HTML elements.
LOGO_IMAGE(SCREAMING_SNAKE_CASE) violates this conventionand is renamed to
LogoImageat both the definition and its two usages.Affected file:
admin.core.v1/components/header.tsx(lines 632, 633)Related Issues
LOGO_IMAGEmust be in PascalCase (2 occurrences) product-is#27900Related PRs
Checklist
Security checks
Developer Checklist (Mandatory)
product-isissue to track any behavioral change or migration impact.