Skip to content

Commit

Permalink
Fix env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
germartinez committed Aug 19, 2024
1 parent 1f962c2 commit c83e8dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Magic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { WalletClient, createWalletClient, custom } from 'viem'
import { sepolia } from 'viem/chains'

// Get the API_KEY from the Magic dashboard.
const API_KEY = process.env.MAGIC_API_KEY
const API_KEY = process.env.NEXT_PUBLIC_MAGIC_API_KEY

export default function MagicComponent() {
const [magic, setMagic] = useState<Magic>()
Expand Down
2 changes: 1 addition & 1 deletion src/components/Privy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { WalletClient, createWalletClient, custom } from 'viem'
import { sepolia } from 'viem/chains'

// Get the APP_ID from the Privy dashboard.
const APP_ID = process.env.PRIVY_APP_ID
const APP_ID = process.env.NEXT_PUBLIC_PRIVY_APP_ID

function PrivyApp() {
const { login, logout, ready, authenticated } = usePrivy()
Expand Down
2 changes: 1 addition & 1 deletion src/components/Web3Auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { WalletClient, createWalletClient, custom } from 'viem'
import { sepolia } from 'viem/chains'

// Get the CLIENT_ID from the Web3Auth dashboard.
const CLIENT_ID = process.env.WEB3AUTH_CLIENT_ID
const CLIENT_ID = process.env.NEXT_PUBLIC_WEB3AUTH_CLIENT_ID

const chainConfig = {
chainNamespace: CHAIN_NAMESPACES.EIP155,
Expand Down

0 comments on commit c83e8dd

Please sign in to comment.