<commit_before>import React from 'react';
import ReactDOM, { render } from 'react-dom';
import { Link } from 'react-router-dom'

class GameWaitRoom extends React.Component {

  render() {

    return (
        <div className="content has-text-centered">
          <div className="notification">
            <h3>Waiting on Players</h3>
            <h5>Current number of connected players:</h5>
            <a className="button is-info" type="submit" title="playbutton" disabled>Play Now!</a>
              {/* <Link to={`/game`}>Play Now!</Link> */}
          </div>
        </div>
    );
  }
}

// /* -----------------    CONTAINER     ------------------ */

import { connect } from 'react-redux'
import store from '../store';

const mapStateToProps = (state) => ({
  user: state.auth.user
})

export default connect(mapStateToProps)(GameWaitRoom)<commit_msg>Fix: Game Wait Room works<commit_after>import React from 'react';
import ReactDOM, { render } from 'react-dom';
import { Link } from 'react-router-dom'

class GameWaitRoom extends React.Component {
  render() {
    let numPlayer = 1;
    return (
        <div className="content has-text-centered">
          <div className="notification">
            <h3>Waiting on Players</h3>
            <h5>Current number of connected players: {numPlayer}</h5>
            <a className="button is-info" type="submit" title="playbutton" disabled>Play Now!</a>
              {/* <Link to={`/game`}>Play Now!</Link> */}
          </div>
        </div>
    );
  }
}

// /* -----------------    CONTAINER     ------------------ */

import { connect } from 'react-redux'
import store from '../store';

const mapStateToProps = (state) => ({
  user: state.auth.user
})

export default connect(mapStateToProps)(GameWaitRoom)
{'fraction_non_alphanumeric': 0.184344866704481, 'fraction_numerical': 0.005104934770277935, 'mean_word_length': 2.340909090909091, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3286342', 'n_tokens_mistral': 523, 'n_tokens_neox': 514, 'n_words': 129}