I'll suggest let `getSupportedNetworkCategories` in util.js carry `network.types` back, instead of querying again.