Skip to content

Commit

Permalink
BUGFIX: Prevent error on wrong class attribute
Browse files Browse the repository at this point in the history
Replaces class attribute with className, as it is used in react.
  • Loading branch information
markusguenther committed Feb 13, 2023
1 parent 8c88240 commit 5f9052e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/neos-ui/src/Containers/Modals/DeleteNode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class DeleteNodeModal extends PureComponent {
const nodeType = $get('nodeType', node);
const nodeTypeLabel = $get('ui.label', nodeTypesRegistry.get(nodeType)) || 'Neos.Neos:Main:node';
return (
<div class={style.modalTitleContainer}>
<div className={style.modalTitleContainer}>
<Icon icon="exclamation-triangle"/>
<span className={style.modalTitle}>
<I18n id="Neos.Neos:Main:delete" fallback="Delete"/>
Expand Down

0 comments on commit 5f9052e

Please sign in to comment.