Skip to content

Commit

Permalink
Merge pull request #269 from reservoirprotocol/remove-unnecessary-dep…
Browse files Browse the repository at this point in the history
…endencies-demo

Remove unnecessary dependencies from demo
  • Loading branch information
pedromcunha authored Sep 12, 2024
2 parents 62e7c8d + 5f81cd2 commit 716a2b1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 86 deletions.
14 changes: 7 additions & 7 deletions demo/next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
})

// @ts-check

/** @type {import('next').NextConfig} */
const nextConfig = {}

module.exports = withBundleAnalyzer(nextConfig)
const nextConfig = {
/* config options here */
}

module.exports = nextConfig
1 change: 0 additions & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@dynamic-labs/sdk-react-core": "^2.6.0",
"@dynamic-labs/solana": "^2.6.0",
"@dynamic-labs/wagmi-connector": "^2.6.0",
"@next/bundle-analyzer": "^14.2.3",
"@radix-ui/colors": "^0.1.8",
"@reservoir0x/relay-kit-hooks": "workspace:*",
"@reservoir0x/relay-kit-ui": "workspace:*",
Expand Down
5 changes: 1 addition & 4 deletions demo/utils/dynamic.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { GenericNetwork } from '@dynamic-labs/types'
import { RelayChain } from '@reservoir0x/relay-sdk'

export const convertRelayChainToDynamicNetwork = (
chain: RelayChain
): GenericNetwork => {
export const convertRelayChainToDynamicNetwork = (chain: RelayChain) => {
return {
blockExplorerUrls: [chain.explorerUrl ?? 'https://etherscan.io'],
chainId: chain.id,
Expand Down
79 changes: 5 additions & 74 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 716a2b1

Please sign in to comment.