Archived
commit prepotente
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ class App extends React.Component {
|
||||
navHeight: null,
|
||||
blackbgHeight: null,
|
||||
isInfoToggled: false,
|
||||
videoId: localStorage['lastId']?localStorage['lastId']:'0J2QdDbelmY'
|
||||
videoId: localStorage['lastId']
|
||||
};
|
||||
|
||||
// componentDidMount(){
|
||||
@@ -79,7 +79,7 @@ static getDerivedStateFromProps(nextProps, prevState) {
|
||||
</Collapse>
|
||||
</Col>
|
||||
</ReactHeight>
|
||||
<Row style={{ "max-height": `calc(98vh - ${this.state.blackbgHeight}px - ${this.state.navHeight}px)` }} className='mt-1 downSection'>
|
||||
<Row style={{ "max-height": `calc(90vh - ${this.state.blackbgHeight}px )` }} className='mt-1 downSection'>
|
||||
<Switch>
|
||||
<Route exact path='/' component={VideoList} />
|
||||
<Route path={["/video/:id", "/search/:query"]} component={Suggestion} />
|
||||
|
||||
Reference in New Issue
Block a user