Commit 4b282d78 authored by vignesh mohankumar's avatar vignesh mohankumar Committed by GitHub

fix: don't fetch collections without flag (#5154)

* better way

* check if value
parent f862a3f9
...@@ -48,6 +48,7 @@ export const SearchBar = () => { ...@@ -48,6 +48,7 @@ export const SearchBar = () => {
refetchOnWindowFocus: false, refetchOnWindowFocus: false,
refetchOnMount: false, refetchOnMount: false,
refetchOnReconnect: false, refetchOnReconnect: false,
enabled: !!debouncedSearchValue && phase1Flag === NftVariant.Enabled,
} }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment