Skip to content

Commit

Permalink
fix: cast
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecco committed Aug 12, 2024
1 parent 3b94a06 commit f8e219f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/withStarknetReactNext/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { CHAIN_ID } from "@/constants"
import { availableConnectors } from "@/helpers/connectorsNext"
import { useWaitForTx } from "@/hooks/useWaitForTx"
import { Flex } from "@chakra-ui/react"
import { Connector } from "starknet-react-core-next"
import { useEffect, useState } from "react"
import { constants } from "starknet"
import { mainnet, sepolia } from "starknet-react-chains-next"
Expand Down Expand Up @@ -90,9 +91,7 @@ export default function StarknetReactNext() {
<StarknetConfig
chains={chains}
provider={providers}
connectors={
availableConnectors as any
} /* remove when starknet-react update types */
connectors={availableConnectors as Connector[]}
>
<StarknetReactDappContent />
</StarknetConfig>
Expand Down

0 comments on commit f8e219f

Please sign in to comment.