0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 03:22:38 +00:00

Lint whitespace changes

This commit is contained in:
Trevor Buckner
2024-09-16 01:42:44 -04:00
parent 63675a46e0
commit 8d479b8cd1
3 changed files with 11 additions and 11 deletions

View File

@@ -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>;
} }

View File

@@ -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() {
@@ -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,
}), }),
})} })}