경제지표 재화 추가
게임 로그 재화지표 export api 추가 경제지표 재화 상세 > 재화 로그 페이지 이동 처리
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user