1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Remove StoreUtils since it's no longer necessary

This commit is contained in:
Brett Sun 2016-01-18 14:08:46 +01:00
parent b3d6620f73
commit 85875309c1

View File

@ -1,10 +0,0 @@
'use strict'
export function onChangeOnce(component, store) {
const onChange = (state) => {
component.setState(state);
store.unlisten(onChange);
};
store.listen(onChange);
}