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

Issue #14

Open
ghost opened this issue May 18, 2022 · 0 comments
Open

Issue #14

ghost opened this issue May 18, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented May 18, 2022

I keep getting a Argument of type is not assignable error when I try to run the interface, after following the readme.

C:/Projects/PCS/pancake-swap-interface-v1/src/components/Popups/PopupItem.tsx
TypeScript error in C:/Projects/PCS/pancake-swap-interface-v1/src/components/Popups/PopupItem.tsx(69,28):
Argument of type 'import("C:/Projects/PCS/pancake-swap-interface-v1/node_modules/@types/react-redux/node_modules/@types/react/index").Context<import("C:/Projects/PCS/pancake-swap-interface-v1/node_modules/@types/styled-components/index").DefaultTheme>' is not assignable to parameter of type 'React.Context<import("C:/Projects/PCS/pancake-swap-interface-v1/node_modules/@types/styled-components/index").DefaultTheme>'. TS2345

67 |   }, [removeAfterMs, removeThisPopup])
68 |

69 | const theme = useContext(ThemeContext)
| ^
70 |
71 | let popupContent
72 | if ('txn' in content) {

Any ideas?

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

0 participants