Files
astuto/app/javascript/components/Board/index.tsx

20 lines
452 B
TypeScript
Raw Normal View History

2019-09-02 14:32:57 +02:00
import * as React from 'react';
import { Provider } from 'react-redux';
2019-09-02 14:32:57 +02:00
import store from '../../stores';
2019-09-02 14:32:57 +02:00
import Board from '../../containers/Board';
2019-09-02 14:32:57 +02:00
2019-09-02 19:59:55 +02:00
import '../../stylesheets/components/Board.scss';
2019-09-02 14:32:57 +02:00
const BoardRoot = ({ board, isLoggedIn, authenticityToken }) => (
<Provider store={store}>
<Board
board={board}
isLoggedIn={isLoggedIn}
authenticityToken={authenticityToken}
/>
</Provider>
);
export default BoardRoot;