fix searchbar always showing

This commit is contained in:
ammarahm-ed
2020-01-27 13:10:45 +05:00
parent 78ec3c722e
commit 90b4f42e01

View File

@@ -193,7 +193,7 @@ export const Container = ({
customIcon={customIcon}
/>
{data[0] || !noSearch ? (
{data[0] && !noSearch ? (
<Search
clear={() => setText('')}
hide={hideHeader}