update pay ui
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import React, { useState, useEffect } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import { logger } from '../../../utils/logger';
|
import { logger } from '../../../utils/logger';
|
||||||
|
import { getApiBase } from '../../../utils/apiConfig';
|
||||||
import { useConceptStatsEvents } from '../hooks/useConceptStatsEvents';
|
import { useConceptStatsEvents } from '../hooks/useConceptStatsEvents';
|
||||||
import {
|
import {
|
||||||
Box,
|
Box,
|
||||||
@@ -48,7 +49,7 @@ import { BsLightningFill, BsGraphUp, BsGraphDown } from 'react-icons/bs';
|
|||||||
const ConceptStatsPanel = ({ apiBaseUrl, onConceptClick }) => {
|
const ConceptStatsPanel = ({ apiBaseUrl, onConceptClick }) => {
|
||||||
// 获取正确的API基础URL
|
// 获取正确的API基础URL
|
||||||
const conceptApiBaseUrl = process.env.NODE_ENV === 'production'
|
const conceptApiBaseUrl = process.env.NODE_ENV === 'production'
|
||||||
? '/concept-api'
|
? `${getApiBase()}/concept-api`
|
||||||
: 'http://111.198.58.126:16801';
|
: 'http://111.198.58.126:16801';
|
||||||
|
|
||||||
// 🎯 PostHog 事件追踪
|
// 🎯 PostHog 事件追踪
|
||||||
|
|||||||
Reference in New Issue
Block a user