<commit_before>// Modules
import AppToolbar from './containers/app_toolbar';
import Paper from 'material-ui/Paper';
import React from 'react';
import {connect} from 'react-redux';
import muiThemeable from 'material-ui/styles/muiThemeable';

class DefaultLayout extends React.Component {
    render() {
        if (this.props.sessionState.token === '') {
            return null;
        }

        return (
            <div
                className="row">
                <Paper
                    className="container col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4"
                    zDepth={3}>
                    <div
                        className="row">
                        <AppToolbar
                            muiTheme={this.props.muiTheme}
                            className="col-xs-12 col-ms-12 col-md-12 col-lg-12" />
                    </div>
                    <div
                        className="page-container row">
                        <div
                            className="col-xs-12 col-ms-12 col-md-12 col-lg-12"><commit_msg>Fixing empty window when logging out without interaction.<commit_after>// Modules
import AppToolbar from './containers/app_toolbar';
import Paper from 'material-ui/Paper';
import React from 'react';
import {connect} from 'react-redux';
import muiThemeable from 'material-ui/styles/muiThemeable';

class DefaultLayout extends React.Component {
    render() {
        if (this.props.sessionState.token === '') {
            window.location.reload(false);
        }

        return (
            <div
                className="row">
                <Paper
                    className="container col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4"
                    zDepth={3}>
                    <div
                        className="row">
                        <AppToolbar
                            muiTheme={this.props.muiTheme}
                            className="col-xs-12 col-ms-12 col-md-12 col-lg-12" />
                    </div>
                    <div
                        className="page-container row">
                        <div
                            className="col-xs-12 col-ms-12 col-md-12 col-lg-12">
{'fraction_non_alphanumeric': 0.11345987920621226, 'fraction_numerical': 0.022433132010353754, 'mean_word_length': 1.3377016129032258, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '3294948', 'n_tokens_mistral': 649, 'n_tokens_neox': 606, 'n_words': 129}