adds missing registration of provider in StateComponentMapping init

This commit is contained in:
Igor Kravchenko 2020-09-30 17:37:53 +03:00
parent 8e7cc45282
commit c6a2bb7740
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ public class StateComponentMapping {
self.creatingState = creatingState
componentType = type
provider = ComponentTypeProvider(type: type)
creatingState.providers[componentType.identifier] = provider
}
/// Creates a mapping for the component type to a specific component instance. A