Skip to content

Commit c95a2fb

Browse files
committed
Repo Delete | eslint fixes
1 parent 082526c commit c95a2fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/repos/DeleteRepo.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Button from '../common/Button';
77
import Dialog from '../common/Dialog'
88
import DialogTitle from '../common/DialogTitle'
99

10-
const DeleteRepo = ({ onSubmit, onClose, open, title, repo }) => {
10+
const DeleteRepo = ({ onSubmit, onClose, open, repo }) => {
1111
const { t } = useTranslation()
1212
const [value, setValue] = React.useState('')
1313
const onChange = event => setValue(event.target.value || '')
@@ -37,14 +37,14 @@ const DeleteRepo = ({ onSubmit, onClose, open, title, repo }) => {
3737
relationship: 'versions, ',
3838
associationsLabel: 'concepts and mappings'
3939
}}
40-
components={[<strong />]}
40+
components={[<strong key='strong' />]}
4141
/>
4242
</p>
4343
<p>
4444
<Trans
4545
i18nKey="repo.delete.confirmation_message"
4646
values={{resourceId: repoId}}
47-
components={[<strong />]}
47+
components={[<strong key='strong' />]}
4848
/>
4949
</p>
5050

0 commit comments

Comments
 (0)