for some reason, I get the "each child in a list should have unique key" error when returning the following code. I do not understand why this happens, as I specifically assign the key during mapping:

```
return (
        <>
            {sortfeedCards(feedCards)}
            {loggedIn === true ? (feedCardsMod.map((card, index) => (
                <>
                    <p>{index}</p>
                    <FeedCard key={index} cardData={card} loggedIn={loggedIn} />
                </>
            ))) : ('')}
        </>
    )

```

And here's what the render looks like.. it seems to me that the index-variable does work:
[![A picture of the feed showing correct index numbers](https://i.stack.imgur.com/X6s2R.png)](https://i.stack.imgur.com/X6s2R.png)

Many Thanks in advance!