move jobs flux, use createClass for react
This commit is contained in:
8
common/app/routes/Jobs/flux/Store.js
Normal file
8
common/app/routes/Jobs/flux/Store.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Store } from 'thundercats';
|
||||
|
||||
export default Store()
|
||||
.refs({ displayName: 'JobsStore' })
|
||||
.init(({ instane: jobsStore, args: [cat] }) => {
|
||||
let jobsActions = cat.getActions('JobsActions');
|
||||
jobsStore.register(jobsActions);
|
||||
});
|
Reference in New Issue
Block a user