Tim Glasgow
2 years ago
1 changed files with 9 additions and 13 deletions
@ -1,17 +1,13 @@ |
|||
import React, {Component} from 'react'; |
|||
import React from 'react'; |
|||
import {Provider} from 'react-redux'; |
|||
import SquareStack from './navigation/SquareStack'; |
|||
|
|||
export default class SquareNotSquare extends Component { |
|||
constructor(props) { |
|||
super(props); |
|||
} |
|||
|
|||
render() { |
|||
return ( |
|||
<Provider store={this.props.squareStore}> |
|||
<SquareStack /> |
|||
</Provider> |
|||
) |
|||
} |
|||
function SquareNotSquare(props){ |
|||
return ( |
|||
<Provider store={props.squareStore}> |
|||
<SquareStack /> |
|||
</Provider> |
|||
) |
|||
} |
|||
|
|||
export default SquareNotSquare; |
Loading…
Reference in new issue