Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to compile #3

Open
nybbs2003 opened this issue Jul 17, 2022 · 1 comment
Open

Fail to compile #3

nybbs2003 opened this issue Jul 17, 2022 · 1 comment

Comments

@nybbs2003
Copy link

Failed to compile
./src/components/App.tsx 22:30
Module parse failed: Unexpected token (22:30)
You may need an appropriate loader to handle this file type.
|   var connectors = useRef(null);
|   var focusConnectors = useCallback(function () {
>     return connectors.current?.focus();
|   }, []); // The provider to pass to the SwapWidget.
|   // This is a Web3Provider (from @ethersproject) supplied by @web3-react; see ./connectors.ts.
This error occurred during the build time and cannot be dismissed.
@pythonpete32
Copy link

i cant reproduce this, can you show the steps you took

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants