Skip to content

Commit

Permalink
♻️ Changed to default export
Browse files Browse the repository at this point in the history
  • Loading branch information
avimishra18 committed Aug 15, 2022
1 parent 65cd729 commit 99c799f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Blocks/Banner/BannerSidebar.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { BlockDataForm, SidebarPortal } from '@plone/volto/components';
import { BannerSchema } from '@plone-collective/volto-block-banner/components/Blocks/Banner/schema';
import BannerSchema from '@plone-collective/volto-block-banner/components/Blocks/Banner/schema';

const BannerSidebar = (props) => {
const { data, block, onChangeBlock, selected } = props;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Blocks/Banner/schema.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const BannerSchema = () => ({
export default () => ({
title: 'Banner',
fieldsets: [
{
Expand Down

0 comments on commit 99c799f

Please sign in to comment.