경제지표 재화 추가

게임 로그 재화지표 export api 추가
경제지표 재화 상세 > 재화 로그 페이지 이동 처리
This commit is contained in:
2025-06-16 15:45:36 +09:00
parent 7993f37e26
commit 495243a1a3
14 changed files with 459 additions and 143 deletions

View File

@@ -22,8 +22,6 @@ import { authType } from '../../assets/data';
import { TabEconomicIndexList, TabGameLogList } from '../../assets/data/options';
const EconomicIndex = () => {
const navigate = useNavigate();
const userInfo = useRecoilValue(authList);
const [activeTab, setActiveTab] = useState('CURRENCY');
const handleTab = (e, content) => {
@@ -37,8 +35,8 @@ const EconomicIndex = () => {
<TabWrapper>
{TabEconomicIndexList.map((el, idx) => {
return (
<li>
<TabItem key={idx} $state={activeTab === el.value ? 'active' : 'none'} onClick={e => handleTab(e, el.value)}>
<li key={idx}>
<TabItem $state={activeTab === el.value ? 'active' : 'none'} onClick={e => handleTab(e, el.value)}>
{el.name}
</TabItem>
</li>