diff --git a/apps/storefront/src/pages/address/Address.tsx b/apps/storefront/src/pages/address/Address.tsx index ef82cbc1..1815b5db 100644 --- a/apps/storefront/src/pages/address/Address.tsx +++ b/apps/storefront/src/pages/address/Address.tsx @@ -100,7 +100,9 @@ const Address = () => { const [isRequestLoading, setIsRequestLoading] = useState(false) const [addressFields, setAddressFields] = useState([]) const [countries, setCountries] = useState([]) - const [filterData, setFilterData] = useState | null>(null) + const [filterData, setFilterData] = useState>({ + search: '', + }) const companyId = role === 3 && isAgenting ? salesRepCompanyId : companyInfoId const hasAdminPermission = isB2BUser && (!role || (role === 3 && isAgenting)) @@ -293,7 +295,7 @@ const Address = () => { columnItems={[]} rowsPerPageOptions={[9, 18, 27]} getRequestList={getAddressList} - searchParams={filterData || {}} + searchParams={filterData} isCustomRender itemXs={isExtraLarge ? 3 : 4} requestLoading={setIsRequestLoading}