Refactor organization look to use useRequest hook

This commit is contained in:
Marliana Lara
2020-07-17 16:25:45 -04:00
parent fbb9998b68
commit 5864d61b5b

View File

@@ -40,7 +40,7 @@ function OrganizationLookup({
organizations: data.results,
itemCount: data.count,
};
}, [history.location]),
}, [history.location.search]),
{
organizations: [],
itemCount: 0,