Skip to content

Commit 489b42b

Browse files
committed
Fix typo in Error class name
Supersedes #10652
1 parent 7109244 commit 489b42b

File tree

1 file changed

+3
-3
lines changed
  • packages/ra-ui-materialui/src/layout

1 file changed

+3
-3
lines changed

packages/ra-ui-materialui/src/layout/Error.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const Error = (
6262
<Accordion className={ErrorClasses.panel}>
6363
<AccordionSummary
6464
expandIcon={<ExpandMoreIcon />}
65-
className={ErrorClasses.panelSumary}
65+
className={ErrorClasses.panelSummary}
6666
>
6767
{translate(error.message, {
6868
_: error.message,
@@ -146,7 +146,7 @@ export const ErrorClasses = {
146146
title: `${PREFIX}-title`,
147147
icon: `${PREFIX}-icon`,
148148
panel: `${PREFIX}-panel`,
149-
panelSumary: `${PREFIX}-panelSumary`,
149+
panelSummary: `${PREFIX}-panelSummary`,
150150
panelDetails: `${PREFIX}-panelDetails`,
151151
toolbar: `${PREFIX}-toolbar`,
152152
advice: `${PREFIX}-advice`,
@@ -182,7 +182,7 @@ const Root = styled('div', {
182182
maxWidth: '60em',
183183
},
184184

185-
[`& .${ErrorClasses.panelSumary}`]: {
185+
[`& .${ErrorClasses.panelSummary}`]: {
186186
userSelect: 'all',
187187
},
188188

0 commit comments

Comments
 (0)