Use the `defaultValue` or `value` props on select instead of setting `selected` on option error in using react

This error can be solved by making use of select Value={this.state.option} which we are going to use , instead of making use of selected on option values.