Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YongZL committed Jan 12, 2024
1 parent 86f0d5e commit e5a127b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/blob-TX/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const BlobTX = () => {
<button
onClick={onTranscode}
className={` ${
!file?.name && !inputText ? 'cursor-not-allowed bg-[#BABABA] ' : 'bg-[#FC7823] '
!file?.name || !inputText ? 'cursor-not-allowed bg-[#BABABA] ' : 'bg-[#FC7823] '
} border px-6 text-base font-semibold items-center mo:w-full flex rounded-xl text-[#FFFFFF] justify-center w-[136px] h-12 text-center`}
>
Transcode
Expand All @@ -165,7 +165,7 @@ const BlobTX = () => {
<button
onClick={() => handleBlobClick(false)}
className={` w-[195px] md:w-[180px] h-[50px] flex ${
!selectedBlob || 'custom-background'
!selectedBlob && 'custom-background'
} items-center border-[#000000] justify-center mt-[30px] md:text-sm border-dashed text-base font-medium `}
>
Blob2(Image data)
Expand Down
2 changes: 1 addition & 1 deletion components/ASuccess.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import classNames, { ArgumentArray } from 'classnames'
import classNames from 'classnames'
import { FC } from 'react'

type SuccessType = {
Expand Down
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
webpack: (config) => {
config.resolve.fallback = { fs: false, net: false, tls: false }
return config
},
}

module.exports = nextConfig
8 changes: 7 additions & 1 deletion utils/wagmi.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { getDefaultConfig } from 'connectkit'
import { createClient } from 'viem'
import { arbitrumSepolia } from 'viem/chains'
import { createConfig } from 'wagmi'

Expand All @@ -7,9 +8,14 @@ const walletConnectProjectId = '2222222'
const config = createConfig(
getDefaultConfig({
autoConnect: true,
appName: 'Scratch',
appName: 'EthDa',
chains: [arbitrumSepolia],
alchemyId: process.env.ALCHEMY_ID, // or infuraId
walletConnectProjectId,

appUrl: 'https://family.co',
appIcon: 'https://family.co/logo.png',
}),
)

export default config

0 comments on commit e5a127b

Please sign in to comment.