{
+ setIsOpen(!isOpen)
+ }
// 이름
const getUserInfo = () => {
@@ -159,10 +165,14 @@ function Sidebar() {
{/* 사원 정보 */}
- {userName}관리
+ {userName}관리
{/* 로그아웃 */}
로그아웃
+ {isOpen ?
+
+ : null
+ }
)
}
diff --git a/src/pages/admin/user/UserManage.js b/src/pages/admin/user/UserManage.js
index 8c0db2e..c9b1047 100644
--- a/src/pages/admin/user/UserManage.js
+++ b/src/pages/admin/user/UserManage.js
@@ -6,7 +6,7 @@ import ManageSearchBar from "components/searchBar/ManageSearchBar";
import {AdminUsersAxios} from "api/AxiosApi";
import {basicError} from "utils/ErrorHandlerUtil";
import {getToken} from "utils/IsLoginUtil";
-import {UserModal} from "./UserModal";
+import {UserModal} from "../../../components/modal/UserModal";
import {AffiliationList} from "../../../constants/ToggleList";
import styled from "styled-components";
diff --git a/src/pages/admin/user/UserMoreModal.js b/src/pages/admin/user/UserMoreModal.js
index e6995c6..40eeb20 100644
--- a/src/pages/admin/user/UserMoreModal.js
+++ b/src/pages/admin/user/UserMoreModal.js
@@ -1,6 +1,6 @@
import React, {useState} from 'react';
import {MenuText, MoreModalView, NormalDiv, RedDiv} from "../../../components/modal/MoreModal";
-import {UserModal} from "./UserModal";
+import {UserModal} from "../../../components/modal/UserModal";
import {AdminUsersAxios} from "../../../api/AxiosApi";
import {getToken} from "../../../utils/IsLoginUtil";
import {basicError} from "../../../utils/ErrorHandlerUtil";