From beca673a032657da4612acd0c498535f6d31c514 Mon Sep 17 00:00:00 2001 From: jonaspiterek Date: Fri, 2 Feb 2024 09:59:07 +0100 Subject: [PATCH] $: make format --- src/components/View.jsx | 20 ++++++------- src/components/schema.js | 62 ++++++++++++++++++++-------------------- 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/src/components/View.jsx b/src/components/View.jsx index be54a70..6a6ecf0 100644 --- a/src/components/View.jsx +++ b/src/components/View.jsx @@ -1,9 +1,9 @@ -import React from "react"; -import config from "@plone/volto/registry"; -import { flattenToAppURL } from "@plone/volto/helpers"; -import cx from "classnames"; -import { DetachedTextBlockEditor } from "@plone/volto-slate/blocks/Text/DetachedTextBlockEditor"; -import { TextBlockView } from "@plone/volto-slate/blocks/Text"; +import React from 'react'; +import config from '@plone/volto/registry'; +import { flattenToAppURL } from '@plone/volto/helpers'; +import cx from 'classnames'; +import { DetachedTextBlockEditor } from '@plone/volto-slate/blocks/Text/DetachedTextBlockEditor'; +import { TextBlockView } from '@plone/volto-slate/blocks/Text'; const View = (props) => { const { data, isEditMode } = props; @@ -13,7 +13,7 @@ const View = (props) => { slateSettings: { ...config.settings.slate, toolbarButtons: config.settings.slate.toolbarButtons.filter( - (index) => index - config.settings.slate.toolbarButtons + (index) => index - config.settings.slate.toolbarButtons, ), }, }; @@ -25,7 +25,7 @@ const View = (props) => { data.image?.[0] && (
{ )}
{!isEditMode ? ( @@ -46,7 +46,7 @@ const View = (props) => { )}