File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
dapp/src/components/availability-check Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ export function AvailabilityCheck({ autoFocusInput }: AvailabilityCheckProps) {
5151 const pathname = usePathname ( ) ;
5252 const router = useRouter ( ) ;
5353 const { close } = useAvailabilityCheckDialog ( ) ;
54- const { data : blockedList = [ ] } = useBlockedList ( ) ;
55- const { data : reservedList = [ ] } = useReservedList ( ) ;
54+ const { data : blockedList = [ ] , isLoading : isLoadingBlockedList } = useBlockedList ( ) ;
55+ const { data : reservedList = [ ] , isLoading : isLoadingReservedList } = useReservedList ( ) ;
5656 const [ searchValue , setSearchValue ] = useState < string > ( '' ) ;
5757 const debouncedSearchValue = useDebounce ( searchValue , DEBOUNCE_DELAY ) ;
5858 const [ recentSearches , setRecentSearches ] = useState < RecentSearch [ ] > ( ( ) => {
@@ -94,7 +94,11 @@ export function AvailabilityCheck({ autoFocusInput }: AvailabilityCheckProps) {
9494 const isLoading =
9595 ! validationError &&
9696 debouncedSearchValue &&
97- ( isLoadingAuctionMetadata || isLoadingNameRecord || isLoadingPriceList ) ;
97+ ( isLoadingAuctionMetadata ||
98+ isLoadingNameRecord ||
99+ isLoadingPriceList ||
100+ isLoadingBlockedList ||
101+ isLoadingReservedList ) ;
98102
99103 const isAuctionInProgress = auctionMetadata ?. isActive ;
100104 const isUnavailable = nameRecordData ?. type === 'unavailable' ;
You can’t perform that action at this time.
0 commit comments