Skip to content

Commit

Permalink
fix console warnings and jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Nov 18, 2020
1 parent f99fd66 commit f0b68f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/manage/Blocks/Accordion/Edit.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { isEmpty } from 'lodash';
import { BlocksForm } from '@eeacms/volto-blocks-form/components';
import { Segment, Button, Grid } from 'semantic-ui-react';
import { Segment, Button } from 'semantic-ui-react';
import { emptyBlocksForm } from '@eeacms/volto-blocks-form/helpers';
import { SidebarPortal, Icon } from '@plone/volto/components';
import InlineForm from '@plone/volto/components/manage/Form/InlineForm';
Expand Down Expand Up @@ -80,6 +80,7 @@ const Edit = (props) => {
coldata={coldata}
handleTitleChange={handleTitleChange}
data={data}
key={index}
>
<BlocksForm
key={colId}
Expand Down
2 changes: 1 addition & 1 deletion src/components/manage/Blocks/Accordion/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const View = (props) => {
<div>
{columnList.map(([id, column], index) => {
return GroupblockHasValue(column) ? (
<Accordion fluid styled>
<Accordion fluid styled key={id}>
<React.Fragment>
<Accordion.Title
active={activeIndex === index}
Expand Down

0 comments on commit f0b68f9

Please sign in to comment.