Switch default map unit to metric based on ip location
kylebarron opened this issue · comments
Kyle Barron commented
By the way, could you do something like
this.state = {
a=“hi”
} = this.props.initialState
If there are other items in the props object, do those get added to state or are only the selected names kept?