Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

NetworkConnector error #451

Open
WinDyAlphA opened this issue Jul 6, 2021 · 3 comments
Open

NetworkConnector error #451

WinDyAlphA opened this issue Jul 6, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@WinDyAlphA
Copy link

WinDyAlphA commented Jul 6, 2021

Hello there, it would glad if you try to help me,
sorry for my poor english.

When I npm run start the interface

this should launch the interface but here is an issue :

C:/Users/Wind/Desktop/cro/Swap DEX/Pancake/pancake-swap-interface-v1-master/src/connectors/NetworkConnector.ts
TypeScript error in C:/Users/Wind/Desktop/cro/Swap DEX/Pancake/pancake-swap-interface-v1-master/src/connectors/NetworkConnector.ts(100,22):
This condition will always return true since this function is always defined. Did you mean to call it instead? TS2774

100 | if (resolve && reject) {
| ^
101 | if ('error' in result) {
102 | reject(new RequestError(result?.error?.message, result?.error?.code, result?.error?.data))
103 | } else if ('result' in result) {

Any help would be great thanks 👍

@WinDyAlphA WinDyAlphA added the bug Something isn't working label Jul 6, 2021
@mtfuji25
Copy link

mtfuji25 commented Jul 26, 2021

it happens for me

@Grodageek
Copy link

Grodageek commented Jul 28, 2021

I have the same problem.

@Aldemaro14
Copy link

Got the same problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants