mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-23 04:03:47 +01:00
remove unnecesary function
This commit is contained in:
parent
813394b6cb
commit
b6ba119b9a
@ -410,14 +410,6 @@ class MockClient implements Client {
|
|||||||
return Promise.resolve({ action: 'EMAIL_SENT' });
|
return Promise.resolve({ action: 'EMAIL_SENT' });
|
||||||
}
|
}
|
||||||
|
|
||||||
wait(ms: number): Promise<number> {
|
|
||||||
return new Promise((resolve) => {
|
|
||||||
setTimeout(() => {
|
|
||||||
resolve(ms);
|
|
||||||
}, ms);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
processGoogleCallback(code: string): Promise<Oauth2CallbackResult> {
|
processGoogleCallback(code: string): Promise<Oauth2CallbackResult> {
|
||||||
// artificial delay for more realistic mock experience
|
// artificial delay for more realistic mock experience
|
||||||
|
Loading…
Reference in New Issue
Block a user