chore: update dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -41,6 +41,9 @@ const { chains, provider } = configureChains(
|
||||
} as any,
|
||||
],
|
||||
[jsonRpcProvider({ rpc: (chain) => ({ http: chain.rpcUrls.default }) })],
|
||||
{
|
||||
pollingInterval: 1000,
|
||||
},
|
||||
)
|
||||
|
||||
const connectors = connectorsForWallets([
|
||||
|
||||
Reference in New Issue
Block a user