mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
20 lines
452 B
TypeScript
20 lines
452 B
TypeScript
import * as React from 'react';
|
|
import { Provider } from 'react-redux';
|
|
|
|
import store from '../../stores';
|
|
|
|
import Board from '../../containers/Board';
|
|
|
|
import '../../stylesheets/components/Board.scss';
|
|
|
|
const BoardRoot = ({ board, isLoggedIn, authenticityToken }) => (
|
|
<Provider store={store}>
|
|
<Board
|
|
board={board}
|
|
isLoggedIn={isLoggedIn}
|
|
authenticityToken={authenticityToken}
|
|
/>
|
|
</Provider>
|
|
);
|
|
|
|
export default BoardRoot; |