Add a warning when trying to use different component in component state list