feat: introduce runtime path (#132)

This commit is contained in:
samanhappy
2025-05-27 18:34:23 +08:00
committed by GitHub
parent 268ce5cce6
commit a1047321d1
17 changed files with 226 additions and 46 deletions

View File

@@ -1,7 +1,7 @@
import { useState, useEffect, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { MarketServer, ApiResponse } from '@/types';
import { getApiUrl } from '../utils/api';
import { getApiUrl } from '../utils/runtime';
export const useMarketData = () => {
const { t } = useTranslation();