Skip to content
Snippets Groups Projects
Commit 7e879c7b authored by Lukáš Kratochvíl's avatar Lukáš Kratochvíl
Browse files

feat: SearchPage - added key property to list items

parent 606121a6
No related branches found
No related tags found
No related merge requests found
......@@ -266,7 +266,7 @@ export const SearchPage = () => {
>
{categories.map((category: CategoryIO) => {
return (
<Option value={category.id}>
<Option key={category.id} value={category.id}>
{category.name}
</Option>
);
......@@ -294,7 +294,7 @@ export const SearchPage = () => {
>
{directors.map((director: DirectorIO) => {
return (
<Option value={director.id}>
<Option key={director.id} value={director.id}>
{`${director.name} ${director.surname}`}
</Option>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment