mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-13 13:02:45 +00:00
Added smart componenets, page line number highlighting
This commit is contained in:
10
client/homebrew/brewRenderer/brewRenderer.smart.jsx
Normal file
10
client/homebrew/brewRenderer/brewRenderer.smart.jsx
Normal file
@@ -0,0 +1,10 @@
|
||||
const Store = require('homebrewery/brew.store.js');
|
||||
const BrewRenderer = require('./brewRenderer.jsx');
|
||||
|
||||
|
||||
module.exports = Store.createSmartComponent(BrewRenderer, () => {
|
||||
return {
|
||||
brewText : Store.getBrewText(),
|
||||
errors : Store.getErrors()
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user