constructor(props) {
				super(props);
				this.state = { location: route1 };
				toggleLocation = () => {
					const oldLocation = this.state.location;
					const newLocation = oldLocation === route1 ? route2 : route1;
					// console.log('Toggling  location', oldLocation, '->', newLocation);
					this.setState({ location: newLocation });
				};
			}
@extends {React.Component<{children: any}, {location: string}>}