mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 08:12:39 +00:00
Lint whitespace changes
This commit is contained in:
@@ -111,7 +111,7 @@ const ErrorNavItem = createClass({
|
|||||||
Looks like there was a problem retreiving
|
Looks like there was a problem retreiving
|
||||||
the theme, or a theme that it inherits,
|
the theme, or a theme that it inherits,
|
||||||
for this brew. Verify that brew <a className='lowercase' target='_blank' rel='noopener noreferrer' href={`/share/${response.body.brewId}`}>
|
for this brew. Verify that brew <a className='lowercase' target='_blank' rel='noopener noreferrer' href={`/share/${response.body.brewId}`}>
|
||||||
{response.body.brewId}</a> still exists!
|
{response.body.brewId}</a> still exists!
|
||||||
</div>
|
</div>
|
||||||
</Nav.item>;
|
</Nav.item>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -330,7 +330,7 @@ const VaultPage = (props)=>{
|
|||||||
|
|
||||||
if(error) {
|
if(error) {
|
||||||
const errorText = ErrorIndex()[error.HBErrorCode.toString()] || '';
|
const errorText = ErrorIndex()[error.HBErrorCode.toString()] || '';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='foundBrews noBrews'>
|
<div className='foundBrews noBrews'>
|
||||||
<h3>Error: {errorText}</h3>
|
<h3>Error: {errorText}</h3>
|
||||||
|
|||||||
@@ -15,12 +15,12 @@ const SplitPane = createClass({
|
|||||||
|
|
||||||
getInitialState : function() {
|
getInitialState : function() {
|
||||||
return {
|
return {
|
||||||
currentDividerPos : null,
|
currentDividerPos : null,
|
||||||
windowWidth : 0,
|
windowWidth : 0,
|
||||||
isDragging : false,
|
isDragging : false,
|
||||||
moveSource : false,
|
moveSource : false,
|
||||||
moveBrew : false,
|
moveBrew : false,
|
||||||
showMoveArrows : true
|
showMoveArrows : true
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ const SplitPane = createClass({
|
|||||||
|
|
||||||
// This lives here instead of in the initial render because you cannot touch localStorage until the componant mounts.
|
// This lives here instead of in the initial render because you cannot touch localStorage until the componant mounts.
|
||||||
const loadLiveScroll = window.localStorage.getItem('liveScroll') === 'true';
|
const loadLiveScroll = window.localStorage.getItem('liveScroll') === 'true';
|
||||||
this.setState({ liveScroll : loadLiveScroll });
|
this.setState({ liveScroll: loadLiveScroll });
|
||||||
},
|
},
|
||||||
|
|
||||||
componentWillUnmount : function() {
|
componentWillUnmount : function() {
|
||||||
@@ -130,7 +130,7 @@ const SplitPane = createClass({
|
|||||||
<i className='fas fa-arrow-right' />
|
<i className='fas fa-arrow-right' />
|
||||||
</div>
|
</div>
|
||||||
<div id='scrollToggleDiv' className={this.state.liveScroll ? 'arrow lock' : 'arrow unlock'}
|
<div id='scrollToggleDiv' className={this.state.liveScroll ? 'arrow lock' : 'arrow unlock'}
|
||||||
style={{ left: this.state.currentDividerPos-4 }}
|
style={{ left: this.state.currentDividerPos-4 }}
|
||||||
onClick={this.liveScrollToggle} >
|
onClick={this.liveScrollToggle} >
|
||||||
<i id='scrollToggle' className={this.state.liveScroll ? 'fas fa-lock' : 'fas fa-unlock'} />
|
<i id='scrollToggle' className={this.state.liveScroll ? 'fas fa-lock' : 'fas fa-unlock'} />
|
||||||
</div>
|
</div>
|
||||||
@@ -160,7 +160,7 @@ const SplitPane = createClass({
|
|||||||
...(this.props.showDividerButtons && {
|
...(this.props.showDividerButtons && {
|
||||||
moveBrew : this.state.moveBrew,
|
moveBrew : this.state.moveBrew,
|
||||||
moveSource : this.state.moveSource,
|
moveSource : this.state.moveSource,
|
||||||
liveScroll : this.state.liveScroll,
|
liveScroll : this.state.liveScroll,
|
||||||
setMoveArrows : this.setMoveArrows,
|
setMoveArrows : this.setMoveArrows,
|
||||||
}),
|
}),
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user