1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

add href, id, name transform for secure navigation

This commit is contained in:
Rokt33r
2016-01-07 09:14:30 +09:00
parent 6698d15f20
commit c1b56e4cb6
5 changed files with 22 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
const electron = require('electron')
const ipc = electron.ipcRenderer
import React, { PropTypes } from 'react'
import HomePage from './HomePage'
export default class MainContainer extends React.Component {
constructor (props) {
@@ -24,7 +25,7 @@ export default class MainContainer extends React.Component {
{this.state.updateAvailable ? (
<button onClick={this.updateApp} className='appUpdateButton'><i className='fa fa-cloud-download'/> Update available!</button>
) : null}
{this.props.children}
<HomePage/>
</div>
)
}