File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export default class MainContainer extends React.Component {
4141 onWheel = { ( e ) => this . handleWheel ( e ) }
4242 >
4343 { this . state . updateAvailable ? (
44- < button onClick = { this . updateApp } className = 'appUpdateButton' > < i className = 'fa fa-cloud-download' /> Update available!</ button >
44+ < button onClick = { this . updateApp } className = 'appUpdateButton' > < i className = 'fa fa-cloud-download' /> Update available!</ button >
4545 ) : null }
4646 < HomePage />
4747 </ div >
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ import store from './store'
44import React from 'react'
55import ReactDOM from 'react-dom'
66require ( '!!style!css!stylus?sourceMap!../styles/main/index.styl' )
7- import { openModal } from 'browser/lib/modal'
8- import OSSAnnounceModal from './modal/OSSAnnounceModal'
97import activityRecord from 'browser/lib/activityRecord'
108import fetchConfig from '../lib/fetchConfig'
119const electron = require ( 'electron' )
@@ -84,12 +82,4 @@ ReactDOM.render((
8482) , el , function ( ) {
8583 let loadingCover = document . getElementById ( 'loadingCover' )
8684 loadingCover . parentNode . removeChild ( loadingCover )
87- let status = JSON . parse ( localStorage . getItem ( 'status' ) )
88- if ( status == null ) status = { }
89-
90- if ( ! status . ossAnnounceWatched ) {
91- openModal ( OSSAnnounceModal )
92- status . ossAnnounceWatched = true
93- localStorage . setItem ( 'status' , JSON . stringify ( status ) )
94- }
9585} )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments