fix duplicate patch updates, add scroll button to setup success (#1800)

* fix duplicate patch updates, add scroll button to setup success

* update path

* update patch

* update patch
This commit is contained in:
Matt Hill
2022-09-14 11:24:22 -06:00
committed by GitHub
parent 67743b37bb
commit 40d47c9f44
11 changed files with 86 additions and 50 deletions

View File

@@ -44,7 +44,7 @@ export class RPCEncryptedService {
.then(res => JSON.parse(res))
.catch(e => {
if (!e.status && !e.statusText) {
throw new EncryptionError()
throw new NetworkError()
} else {
throw new HttpError(e)
}
@@ -54,9 +54,10 @@ export class RPCEncryptedService {
}
}
class EncryptionError {
class NetworkError {
readonly code = null
readonly message = 'Invalid Key'
readonly message =
'Network Error. Please try refreshing the page or clearing your browser cache'
readonly details = null
}