Add header to all states.

pull/1/head
Neeraj Baid 11 years ago
parent 0615b5e495
commit ef1eb6debf

@ -55,11 +55,13 @@ export default class App extends React.Component {
render() {
if (this.state.readyToUpload) {
return <div>
<Header />
<FileDescription file={this.state.uploadFile} />
<Tempalink token={this.state.uploadToken} />
</div>;
} else if (this.state.readyToDownload) {
return <div>
<Header />
<FileDescription file={this.state.downloadFile} />
<button onClick={this.downloadFile.bind(this)}>Download</button>
</div>;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save