logging
This commit is contained in:
parent
d7066618b1
commit
10c57f6906
@ -12,6 +12,9 @@ import { WalletType } from '../services/types'
|
|||||||
|
|
||||||
const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE === 'true'
|
const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE === 'true'
|
||||||
|
|
||||||
|
console.log('NEXT_PUBLIC_FREE_MODE value:', process.env.NEXT_PUBLIC_FREE_MODE)
|
||||||
|
console.log('FREE_MODE computed value:', FREE_MODE)
|
||||||
|
|
||||||
const Page: React.FC = (): React.ReactElement => {
|
const Page: React.FC = (): React.ReactElement => {
|
||||||
const [walletState, setWalletState] = useState<WalletState>({
|
const [walletState, setWalletState] = useState<WalletState>({
|
||||||
connected: FREE_MODE ? true : false, // Always "connected" in free mode
|
connected: FREE_MODE ? true : false, // Always "connected" in free mode
|
||||||
|
@ -5,6 +5,8 @@ import React, { useState, useRef } from 'react'
|
|||||||
import { Leaf } from 'lucide-react'
|
import { Leaf } from 'lucide-react'
|
||||||
|
|
||||||
const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE === 'true'
|
const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE === 'true'
|
||||||
|
console.log('ImageAnalysisCard FREE_MODE value:', FREE_MODE)
|
||||||
|
|
||||||
|
|
||||||
interface ImageAnalysisCardProps {
|
interface ImageAnalysisCardProps {
|
||||||
title: string
|
title: string
|
||||||
|
Loading…
Reference in New Issue
Block a user