mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
* Comply with prefer-default-export rule for findBySession function * Remove XO's prefer-default-export rule * Comply with prefer-default-export rule for init function * Comply with prefer-default-export rule for getRootGroups function * Comply with prefer-default-export rule for INIT constant * Comply with prefer-default-export rule for isExecutable function * Fix default export for constants * Comply with prefer-default-export rule for last function * Comply with prefer-default-export rule for getColorList function
13 lines
220 B
JavaScript
13 lines
220 B
JavaScript
import rpc from '../rpc';
|
|
import INIT from '../constants';
|
|
|
|
export default function init() {
|
|
return dispatch => {
|
|
dispatch({
|
|
type: INIT,
|
|
effect: () => {
|
|
rpc.emit('init');
|
|
}
|
|
});
|
|
};
|
|
}
|