Skip to content

fix: correct panelSumary typo to panelSummary in Error componentFix/error panel summary typo #10652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

saloua-ch
Copy link

@saloua-ch saloua-ch commented Apr 9, 2025

What does this PR do?

Fixes a typo in the Error.tsx component where the class name panelSumary was misspelled as panelSummary.
Fixes #10651

Changes

  • Changed panelSumary to panelSummary in the AccordionSummary component's className
  • Updated the corresponding class name in the ErrorClasses object
  • Updated the style definition to use the correct class name

Testing

  • The changes have been tested locally
  • The component renders correctly with the updated class name
  • No visual changes are expected as this is just a class name correction

Related Issues

This PR addresses a minor typo in the codebase that could potentially cause confusion or issues when working with the Error component's styles.

Checklist

  • My code follows the code style of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Copy link
Collaborator

@djhi djhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for the issue and PR! I believe you mistakenly pushed a fix commited in another PR (#10650) though

fzaninotto added a commit that referenced this pull request Apr 16, 2025
@fzaninotto
Copy link
Member

Superseded by 489b42b

@fzaninotto fzaninotto closed this Apr 16, 2025
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.

a typo in the codebase! In packages/ra-ui-materialui/src/layout/Error.tsx
3 participants