refactor(hub): split hub-map into edit-hub-map and view-hub-map