import axios from 'axios';
import ContentWrapper from 'Component/ContentWrapper';
export const VERSION_ROUTE = '/scandipwa/version';
const getVersion = (instance) => {
axios.get(VERSION_ROUTE).then((response) => {
instance.setState({ version: response.data });
const state = (original) => ({
const componentDidMount = (args, callback, instance) => {
const renderCopyrightContent = (args, callback, instance) => {
const { version } = instance.state;
mix={ { block: 'Footer', elem: 'CopyrightContentWrapper' } }
wrapperMix={ { block: 'Footer', elem: 'CopyrightContent' } }
<span block="Footer" elem="Copyright">
'Component/Footer/Component': {