mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
Streamline client initiation by using await/async instead of .then and events
This commit is contained in:
parent
25d6595a8f
commit
cb86ce0e39
4 changed files with 169 additions and 148 deletions
|
@ -149,7 +149,7 @@ class PersistentStorage {
|
|||
return(secrets);
|
||||
} catch (e) {
|
||||
this.logBrowserNotCapable();
|
||||
return 0;
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue