Uniswap / widgets

widgets-uniswap.vercel.app
GNU General Public License v3.0
123 stars 175 forks source link

Property 'jsonRpcEndpoint' does not exist on type 'IntrinsicAttributes & SwapProps & WidgetProps'. #629

Open code-bajju opened 2 months ago

code-bajju commented 2 months ago

Bug Description When user specify the token user get an error message Type '{ jsonRpcEndpoint: string; tokenList: string; provider: Web3Provider | undefined; onConnectWallet: () => void; defaultInputTokenAddress: string; defaultInputAmount: string; defaultOutputTokenAddress: string; }' is not assignable to type 'IntrinsicAttributes & SwapProps & WidgetProps'. Property 'jsonRpcEndpoint' does not exist on type 'IntrinsicAttributes & SwapProps & WidgetProps'.

Screenshot 2024-05-05 at 10 49 15 AM