diff --git a/src/containers/InteractiveMessage/InteractiveOptions/ListReplyTemplate.tsx b/src/containers/InteractiveMessage/InteractiveOptions/ListReplyTemplate.tsx index d97fe9136..9bb7da40d 100644 --- a/src/containers/InteractiveMessage/InteractiveOptions/ListReplyTemplate.tsx +++ b/src/containers/InteractiveMessage/InteractiveOptions/ListReplyTemplate.tsx @@ -1,7 +1,6 @@ import React from 'react'; import { Button, TextField, FormHelperText, FormControl } from '@material-ui/core'; import { FieldArray } from 'formik'; -import { v4 as uuidv4 } from 'uuid'; import { ReactComponent as DeleteIcon } from 'assets/images/icons/Delete/Red.svg'; import { ReactComponent as CrossIcon } from 'assets/images/icons/Cross.svg'; @@ -134,7 +133,9 @@ export const ListReplyTemplate: React.SFC = (props) => { name={`templateButtons[${index}].options`} render={(arrayHelpers) => options.map((itemRow: any, itemIndex: any) => ( -
+ // disabling eslint for this as we have no other unique way to define a key + // eslint-disable-next-line react/no-array-index-key +