ClaimList: fix missing key (#737)

## Issue
From the Draggable PR, the draggables retained the key but regular lists lost it.
This commit is contained in:
infinite-persistence 2022-01-19 05:48:20 -08:00 committed by GitHub
parent b72127411c
commit 3338f9142c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,6 +162,7 @@ export default function ClaimList(props: Props) {
const getClaimPreview = (uri: string, index: number, draggableProvided?: any) => ( const getClaimPreview = (uri: string, index: number, draggableProvided?: any) => (
<ClaimPreview <ClaimPreview
uri={uri} uri={uri}
key={uri}
indexInContainer={index} indexInContainer={index}
type={type} type={type}
active={activeUri && uri === activeUri} active={activeUri && uri === activeUri}