nst-guide / web

Mapping website for National Scenic Trails

Home Page:https://nst.guide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch default map unit to metric based on ip location

kylebarron opened this issue · comments

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?