* use context for adminClient
Now we can reuse the components as we can use the adminClient from the context
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* split environment into base, admin and account
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* added type to useEnvironment
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
---------
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>