import React from 'react';
import autobind from 'core-decorators/es/autobind';
import { NonIdealState, Button, Intent } from '@blueprintjs/core';
import LoadingSpinner from '../../../components/LoadingSpinner';


@autobind
class HideResults extends React.Component {
	refreshPage() {
		location.reload();
	}

	render() {
		return (
			<div>
				<h2 style={{textAlign:'center'}}>Who will reign victorious?</h2>
				<NonIdealState 
					description='Results will be out soon. Check this page again in a few minutes!' 
					visual={<LoadingSpinner hideText/>}
					action={<Button intent={Intent.PRIMARY} text='Refresh page' onClick={this.refreshPage}/>}/>
			</div>
		);
	}
}


export default HideResults;

import React from 'react';
import autobind from 'core-decorators/es/autobind';
import { NonIdealState, Button, Intent } from '@blueprintjs/core';
import LoadingSpinner from '../../../components/LoadingSpinner';


@autobind
class HideResults extends React.Component {
	refreshPage() {
		location.reload();
	}

	render() {
		return (
			<div>
				<h2 style={{textAlign:'center'}}>Who will reign victorious?</h2>
				<NonIdealState 
					title='Results will be out soon'
					description='Check this page again in a few minutes!' 
					visual={<LoadingSpinner hideText/>}
					action={<Button intent={Intent.PRIMARY} text='Refresh page' onClick={this.refreshPage}/>}/>
			</div>
		);
	}
}


export default HideResults;

Improve pending results screen text
[FIX] Improve pending results screen text
