React react-select / Each child in a list should have a unique "key" prop
I use react-select I get nex warning from react Warning: Each child in a list should have a unique "key" prop. My component: import React from "react"; import Select from "react-select"; import styles from "./Filter.module.scss"; interface SearchBarProps { setParametr: React.Dispatch<React.SetStateAction<string>>; data: Array<{ name: string; value: number }>; placeholder: string; } export const SearchBar: React.FC<SearchBarProps> =… Read More React react-select / Each child in a list should have a unique "key" prop