Log currency 관련 API 호출 추가
components 정리에 따른 호출 위치 수정 excelExportButton에 functionName 추가 게임 로그조회 수정
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { useState, Fragment } from 'react';
|
||||
|
||||
import { Title, BtnWrapper, ButtonClose, ModalText } from '../../styles/Components';
|
||||
import { TabScroll, Title } from '../../styles/Components';
|
||||
|
||||
import styled from 'styled-components';
|
||||
|
||||
import UserViewSearchBar from '../../components/DataManage/UserViewSearchBar';
|
||||
import UserViewSearchBar from '../../components/searchBar/UserViewSearchBar';
|
||||
import UserDefaultInfo from '../../components/DataManage/UserDefaultInfo';
|
||||
import UserAvatarInfo from '../../components/DataManage/UserAvatarInfo';
|
||||
import UserDressInfo from '../../components/DataManage/UserDressInfo';
|
||||
@@ -16,17 +16,14 @@ import UserFriendInfo from '../../components/DataManage/UserFriendInfo';
|
||||
import UserTatttooInfo from '../../components/DataManage/UserTattooInfo';
|
||||
import UserQuestInfo from '../../components/DataManage/UserQuestInfo';
|
||||
import UserClaimInfo from '../../components/DataManage/UserClaimInfo';
|
||||
import Modal from '../../components/common/modal/Modal';
|
||||
import Button from '../../components/common/button/Button';
|
||||
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { authList } from '../../store/authList';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
import AuthModal from '../../components/common/modal/AuthModal';
|
||||
import { authType, TabList } from '../../assets/data';
|
||||
import { authType, TabUserList } from '../../assets/data';
|
||||
|
||||
const UserView = () => {
|
||||
const navigate = useNavigate();
|
||||
const userInfo = useRecoilValue(authList);
|
||||
|
||||
const [infoView, setInfoView] = useState('none');
|
||||
@@ -48,7 +45,7 @@ const UserView = () => {
|
||||
<UserWrapper display={infoView}>
|
||||
<TabScroll>
|
||||
<UserTabWrapper>
|
||||
{TabList.map((el, idx) => {
|
||||
{TabUserList.map((el, idx) => {
|
||||
return (
|
||||
<UserTab key={idx} $state={el.title === activeContent ? 'active' : 'unactive'} onClick={() => handleTab(el.title)}>
|
||||
{el.title}
|
||||
@@ -102,10 +99,7 @@ const UserTab = styled.li`
|
||||
color: #fff;
|
||||
background: #888;`}
|
||||
`;
|
||||
const TabScroll = styled.div`
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
`;
|
||||
|
||||
const UserTabWrapper = styled.ul`
|
||||
border-bottom: 1px solid #888888;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user