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 have checked this bug. This error arises due to the new version of the library "@reduxjs/toolkit".
To fix this bug, you need remove current version of the library "@reduxjs/toolkit" and install version "1.3.5":
TypeScript error in /root/pancake-swap-v1-bsc-testnet/pancake-swap-interface-v1/src/state/index.ts(43,3):
Type 'MergedState' is not assignable to type '{ application?: { blockNumber: { [x: number]: number | undefined; }; popupList: { key: string; show: boolean; content: { txn: { hash: string; success: boolean; summary?: string | undefined; }; } | { listUpdate: { ...; }; }; removeAfterMs: number | null; }[]; walletModalOpen: boolean; settingsMenuOpen: boolean; } | u...'.
Types of property 'user' are incompatible.
Type '{ [key: string]: any; }' is missing the following properties from type '{ lastUpdateVersionTimestamp?: number | undefined; userDarkMode: boolean | null; matchesDarkMode: boolean; userExpertMode: boolean; userSlippageTolerance: number; userDeadline: number; tokens: { ...; }; pairs: { ...; }; timestamp: number; audioPlay: boolean; }': userDarkMode, matchesDarkMode, userExpertMode, userSlippageTolerance, and 5 more. TS2322
The text was updated successfully, but these errors were encountered: