From 9c57259e118342c9145acd29e9b59180e2375b64 Mon Sep 17 00:00:00 2001 From: Berke Aras Date: Sat, 22 Jan 2022 13:42:11 +0100 Subject: [PATCH] Fix search issue --- src/components/_Header_Searchfield/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/_Header_Searchfield/index.jsx b/src/components/_Header_Searchfield/index.jsx index a03fe7b..1b11ab5 100644 --- a/src/components/_Header_Searchfield/index.jsx +++ b/src/components/_Header_Searchfield/index.jsx @@ -86,7 +86,7 @@ const SearchField = () => { .then((response) => response.json()) .then((result) => { let userResult = result[0] - let groupResult = result[1] + let groupResult = Object.values(result[1]) let topicResult = result[2] setUserResult(userResult)