import React from 'react';
import Tile from './tile';

require('./css/board.css');

export default class Board extends React.Component {
	render() {
		return (
			<div id="board">
				{
					// Generate tiles for board.
					this.props.board.map((index) => {
						return (
							<Tile/>
						);
					})
				}
			</div>
		);
	}
}

export default class Board extends React.Component {
	render() {
		return (
			<div id="board">
				{
					// Generate tiles for board.
					this.props.board.map((index) => {
						return (
							<Tile/>
						);
					})
				}
			</div>
		);
	}
}
import React from 'react';
import Tile from './tile';

require('./css/board.css');

export default class Board extends React.Component {
	render() {
		return (
			<div id="board">
				{
					// Generate tiles for board.
					this.props.board.map((index) => {
						return (
							<Tile/>
						);
					})
				}
			</div>
		);
	}
}
Remove extra declaration of Board.
Remove extra declaration of Board.
