You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
Any ideas?
The text was updated successfully, but these errors were encountered: