mirror of
https://github.com/plebbit/seedit.git
synced 2026-06-11 17:46:27 -04:00
chore(submit): remove custom error message for pubsub providers, doesn't seem needed anymore
This commit is contained in:
@@ -43,12 +43,7 @@ const useSubmitStore = create<SubmitState>((set) => ({
|
||||
onChallengeVerification: alertChallengeVerificationFailed,
|
||||
onError: (error: Error) => {
|
||||
console.error(error);
|
||||
// TODO: remove this explanation when pubsub providers uptime is fixed:
|
||||
let errorMessage = error.message;
|
||||
if (errorMessage === 'The challenge request has been published over the pubsub topic but no response was received') {
|
||||
errorMessage +=
|
||||
'. This means seedit web is currently offline, download seedit desktop which is fully peer-to-peer: https://github.com/plebbit/seedit/releases/latest';
|
||||
}
|
||||
alert(errorMessage);
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user