mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-20 16:42:58 +00:00
Remove commented "chrome warning" from navbar.jsx
Warning when non-chrome browser is detected already moved to a different file. No need to keep this commented-out chunk left here in navbar.jsx.
This commit is contained in:
@@ -9,22 +9,10 @@ const Navbar = createReactClass({
|
|||||||
displayName : 'Navbar',
|
displayName : 'Navbar',
|
||||||
getInitialState : function() {
|
getInitialState : function() {
|
||||||
return {
|
return {
|
||||||
// showNonChromeWarning: false, // uncomment if needed
|
|
||||||
ver : global.version || '0.0.0'
|
ver : global.version || '0.0.0'
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
|
||||||
renderChromeWarning : function(){
|
|
||||||
if(!this.state.showNonChromeWarning) return;
|
|
||||||
return <Nav.item className='warning' icon='fa-exclamation-triangle'>
|
|
||||||
Optimized for Chrome
|
|
||||||
<div className='dropdown'>
|
|
||||||
If you are experiencing rendering issues, use Chrome instead
|
|
||||||
</div>
|
|
||||||
</Nav.item>
|
|
||||||
},
|
|
||||||
*/
|
|
||||||
render : function(){
|
render : function(){
|
||||||
return <Nav.base>
|
return <Nav.base>
|
||||||
<Nav.section>
|
<Nav.section>
|
||||||
|
|||||||
Reference in New Issue
Block a user