27 lines
709 B
JavaScript
27 lines
709 B
JavaScript
const React = require('react')
|
|
|
|
const { dispatcher } = require('../lib/dispatcher')
|
|
|
|
module.exports = class CreateTorrentErrorPage extends React.Component {
|
|
render () {
|
|
return (
|
|
<div className='create-torrent'>
|
|
<h2>Create torrent</h2>
|
|
<p className='torrent-info'>
|
|
<p>
|
|
Sorry, you must select at least one file that is not a hidden file.
|
|
</p>
|
|
<p>
|
|
Hidden files, starting with a . character, are not included.
|
|
</p>
|
|
</p>
|
|
<p className='float-right'>
|
|
<button className='button-flat light' onClick={dispatcher('cancel')}>
|
|
Cancel
|
|
</button>
|
|
</p>
|
|
</div>
|
|
)
|
|
}
|
|
}
|