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:
parent
b3d6620f73
commit
85875309c1
@ -1,10 +0,0 @@
|
||||
'use strict'
|
||||
|
||||
export function onChangeOnce(component, store) {
|
||||
const onChange = (state) => {
|
||||
component.setState(state);
|
||||
store.unlisten(onChange);
|
||||
};
|
||||
|
||||
store.listen(onChange);
|
||||
}
|
Loading…
Reference in New Issue
Block a user