Next.js Discord

Discord Forum

getting warning asking for unique key prop even without having a list inside the component

Answered
Western Meadowlark posted this in #help-forum
Open in Discord
Western MeadowlarkOP
i keep getting this warning in the component asking for a unique key prop but i dont know where it is coming from
i tried adding a key to the Link component but that wasnt the issue

any idea what this means
thanks
Answered by Western Meadowlark
i had missed the key prop on the parent component which does a map which returns TeamComponent
View full answer

1 Reply

Western MeadowlarkOP
i had missed the key prop on the parent component which does a map which returns TeamComponent
Answer