noxonsu / unifactory

uniswap fork with admin panel

Home Page:https://dex.onout.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript build error

T-Ph525 opened this issue · comments

TypeScript error in unifactory/src/components/AccountDetails/index.tsx(229,28):
Argument of type 'import("unifactory/node_modules/@types/react-dom/node_modules/@types/react/index").Context<import("unifactory/node_modules/@types/styled-components/index").DefaultTheme>' is not assignable to parameter of type 'React.Context<import("unifactory/node_modules/@types/styled-components/index").DefaultTheme>'.

What is your NodeJS version? Use 16. Try to remove node_modules and package-lock.json and reinstall it.

yarn run serve works despite the error.