Skip to content

Commit 0d251ce

Browse files
authored
[frontend] bugfix: cannot remove inspiration (#240)
1 parent d2e4968 commit 0d251ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app-engine/frontend/src/pages/configForm/configUi/components/inspiration-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const InspirationList = (props) => {
2929
}
3030
return (<span className='right'>
3131
<img src={EditImg} alt="" onClick={() => clickInspiration(item)} className={inspirationValues?.showInspiration ? '' : 'not-allowed'} />
32-
<img src={DeleteImg} alt="" onClick={() => handleDelete(item.id)} className={inspirationValues?.showInspiration ? '' : 'not-allowed'} />
32+
<img src={DeleteImg} alt="" onClick={() => handleDelete(item)} className={inspirationValues?.showInspiration ? '' : 'not-allowed'} />
3333
</span>);
3434
};
3535

0 commit comments

Comments
 (0)