mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
interface: correct order of arguments in resubscribe logic
This commit is contained in:
parent
4fded00005
commit
4dfce2a757
@ -12,10 +12,10 @@ export default class BaseSubscription {
|
||||
|
||||
onChannelError(err) {
|
||||
console.error('event source error: ', err);
|
||||
setTimeout(2000, () => {
|
||||
setTimeout(() => {
|
||||
this.store.clear();
|
||||
this.start();
|
||||
});
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
subscribe(path, app) {
|
||||
|
Loading…
Reference in New Issue
Block a user