Skip to content

Commit

Permalink
Remove redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Jun 7, 2024
1 parent 8c33e88 commit afceb49
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/Blocks/FacetedSearchBlockEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Container, Segment } from 'semantic-ui-react';
import { SidebarPortal } from '@plone/volto/components';

import Sidebar from './Sidebar';
import FacetedSearch from '../Views/FacetedSearch';
import FacetedSearchBlockView from './FacetedSearchBlockView';
import DownloadFiltersMapping from './DownloadFiltersMapping';

const Edit = ({ data, onChangeBlock, block, selected }) => {
Expand All @@ -18,9 +18,7 @@ const Edit = ({ data, onChangeBlock, block, selected }) => {
</Container>
</SidebarPortal>

<div className="block searchkitsearch">
<FacetedSearch data={data} />
</div>
<FacetedSearchBlockView />
</div>
);
};
Expand Down

0 comments on commit afceb49

Please sign in to comment.