<commit_before>// Module imports
import React, { Component } from 'react';
import $ from 'jquery'; 
import { connect } from 'react-redux'; 

// Component imports
import Top20Artworks from '../containers/Top20Artworks'; 
// import SearchBar from './search-bar.jsx';
// import Results from './results.jsx';  

// Action imports
import { getTopArtworks } from '../actions/index'; 

class App extends Component {

	componentWillMount() {
		this.props.getTopArtworks();
	}

	render() {
		const topArtworks = this.props.topArtworks; 
		if (!topArtworks.length) {
			return (
				<div>
					Top 20 Artworks:
					<br /><br />
					Loading...
				</div>
			);
		} else {
			return (
				<div>
					Top 20 Artworks:
					<Top20Artworks topArtworks={topArtworks} />
				</div>
			);<commit_msg>Clean up UI.<commit_after>// Module imports
import React, { Component } from 'react';
import $ from 'jquery'; 
import { connect } from 'react-redux'; 

// Component imports
import Top20Artworks from '../containers/Top20Artworks'; 
// import SearchBar from './search-bar.jsx';
// import Results from './results.jsx';  

// Action imports
import { getTopArtworks } from '../actions/index'; 

class App extends Component {

	componentWillMount() {
		this.props.getTopArtworks();
	}

	render() {
		const topArtworks = this.props.topArtworks; 
		if (!topArtworks.length) {
			return (
				<div>
					<br /> 
					<br /> 
					<strong>Top 20 Artworks</strong>
					<br /> 
					<br /> 
					<em>Loading...</em>
				</div>
			);
		} else {
			return (
				<div>
					<br /> 
					<br /> 
					<strong>Top 20 Artworks</strong>
					<br /> 
					<br /> 
					<Top20Artworks topArtworks={topArtworks} />
				</div>
			);
{'fraction_non_alphanumeric': 0.15466351829988192, 'fraction_numerical': 0.011806375442739079, 'mean_word_length': 2.5534591194968552, 'pattern_counts': {'":': 0, '<': 29, '<?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': '7622708', 'n_tokens_mistral': 696, 'n_tokens_neox': 555, 'n_words': 138}