// @flow import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Footer, Header } from 'components'; import PropTypes from 'prop-types'; import { CHANGE_LANGUAGE, CHANGE_NODE } from 'actions/config'; class App extends Component { constructor(props) { super(props); } static propTypes = { children: PropTypes.node.isRequired, location: PropTypes.object, handleWindowResize: PropTypes.func, router: PropTypes.object, isMobile: PropTypes.bool, // BEGIN ACTUAL languageSelection: PropTypes.object, changeLanguage: PropTypes.func, changeNode: PropTypes.func, nodeSelection: PropTypes.object }; render() { let { children, // APP languageSelection, changeLanguage, changeNode, nodeSelection } = this.props; let headerProps = { location, changeLanguage, languageSelection, location, changeNode, nodeSelection }; return (