0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

Lint fixes

This commit is contained in:
G.Ambatte
2022-09-03 20:53:28 +12:00
parent 8d10800cb6
commit ba693365ec
2 changed files with 5 additions and 5 deletions

View File

@@ -30,10 +30,10 @@ const ListPage = createClass({
});
return {
filterString : this.props.query?.filter || '',
sortType : this.props.query?.sort || 'alpha',
sortDir : this.props.query?.dir || 'asc',
query : this.props.query,
filterString : this.props.query?.filter || '',
sortType : this.props.query?.sort || 'alpha',
sortDir : this.props.query?.dir || 'asc',
query : this.props.query,
brewCollection : brewCollection
};
},

View File

@@ -94,7 +94,7 @@ const NewPage = createClass({
localStorage.setItem(BREWKEY, brew.text);
localStorage.setItem(STYLEKEY, brew.style);
localStorage.setItem(METAKEY, JSON.stringify({'renderer' : brew.renderer}));
localStorage.setItem(METAKEY, JSON.stringify({ 'renderer': brew.renderer }));
},
componentWillUnmount : function() {
document.removeEventListener('keydown', this.handleControlKeys);