Skip to content

Commit

Permalink
Chore: Prettier files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Apr 11, 2024
1 parent ad341be commit 461196c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Neos:
# Add `aria-label` and `title` to the button. Will be translated, but can also be a plain text
label: "Foo.Bar:Backend.Main:editPreviewModes.teaserView"
# Sets the position. Defaults to 'start'
position: 'start 1'
position: "start 1"
```
[packagist]: https://packagist.org/packages/carbon/previewmodebutton
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Editor/makeButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react";
import { IconButton } from "@neos-project/react-ui-components";

export default function makeButton({ viewEditModeName, settings, i18nRegistry, nodeTypesRegistry }) {
return function Button({documentNode, editPreviewMode, setEditPreviewMode }) {
return function Button({ documentNode, editPreviewMode, setEditPreviewMode }) {
const [shouldRender, setShouldRender] = useState(false);
const icon = settings?.icon || "fas fa-pencil";
const label = settings?.label || null;
Expand Down

0 comments on commit 461196c

Please sign in to comment.