Browse Source

Functional launcher

pull/1/head
Tim Glasgow 2 years ago
parent
commit
ff4481a7b6
  1. 22
      squarenotsquare/Launcher.js

22
squarenotsquare/Launcher.js

@ -1,17 +1,13 @@
import React, {Component} from 'react'; import React from 'react';
import {Provider} from 'react-redux'; import {Provider} from 'react-redux';
import SquareStack from './navigation/SquareStack'; import SquareStack from './navigation/SquareStack';
export default class SquareNotSquare extends Component { function SquareNotSquare(props){
constructor(props) { return (
super(props); <Provider store={props.squareStore}>
} <SquareStack />
</Provider>
)
}
render() { export default SquareNotSquare;
return (
<Provider store={this.props.squareStore}>
<SquareStack />
</Provider>
)
}
}
Loading…
Cancel
Save