Attempt to block error when printing version number

This should work in theory
pull/10616/head
Alex P 2017-06-23 10:26:06 -07:00
parent f743f38777
commit c27985b20b
1 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ import {DEFAULT_HOME_PAGE} from 'shared/constants'
const {bool, shape, string} = PropTypes
const V_NUMBER = VERSION /* eslint-disable no-undef */
const SideNav = React.createClass({
propTypes: {
params: shape({
@ -89,7 +91,7 @@ const SideNav = React.createClass({
</div>
<div className="sidebar-menu">
<div className="sidebar-menu--heading">
Version: {VERSION}{/* eslint no-undef */}
Version: {V_NUMBER}
</div>
</div>
</div>