Skip to content

Commit

Permalink
fix: local
Browse files Browse the repository at this point in the history
  • Loading branch information
aeolianeth committed Dec 9, 2024
1 parent 15a2452 commit 0464a90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,6 @@ const SECURITY_HEADERS = [
const nextConfig = removeImports({
experimental: {
esmExternals: true,
optimizePackageImports: [
'juice-sdk-core',
'juice-sdk-react',
'ethers',
'ethers/lib/utils',
'@ethersproject/constants',
'@ethersproject/bignumber',
'@ethersproject',
'viem',
'viem/chains',
'wagmi',
'@wagmi/core',
'@heroicons/react'
],
},
staticPageGenerationTimeout: 90,
webpack: config => {
Expand Down
4 changes: 2 additions & 2 deletions src/utils/server/pages/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { getProjectMetadata } from '../metadata'
export interface ProjectPageProps {
metadata?: ProjectMetadata
projectId: number
chainName?: string
chainName?: string | null
}

export async function getProjectStaticProps(
Expand All @@ -25,7 +25,7 @@ export async function getProjectStaticProps(
props: {
metadata,
projectId,
chainName,
chainName: chainName ?? null,
},
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down

0 comments on commit 0464a90

Please sign in to comment.