chore: update dependencies

This commit is contained in:
DIYgod
2022-09-27 16:30:24 +01:00
parent 56093d642e
commit 2b39f0c2a4
4 changed files with 261 additions and 248 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
import React from "react"
import { default as NextImage, ImageProps } from "next/image"
import { toGateway, toIPFS } from "~/lib/ipfs-parser"
import { isIpfsUrl } from "@crossbell/ipfs-gateway"
import clsx from "clsx"
export const Image: React.FC<
@@ -15,7 +14,7 @@ export const Image: React.FC<
> = ({ layout, className, alt, src, width, height, ...props }) => {
src = toIPFS(src)
const [paddingTop, setPaddingTop] = React.useState("0")
const autoSize = !width && !width && !layout
const autoSize = !width && !height && !layout
return (
<span
+3
View File
@@ -41,6 +41,9 @@ const { chains, provider } = configureChains(
} as any,
],
[jsonRpcProvider({ rpc: (chain) => ({ http: chain.rpcUrls.default }) })],
{
pollingInterval: 1000,
},
)
const connectors = connectorsForWallets([