Skip to content

Commit

Permalink
feat(member): add member info in member manage
Browse files Browse the repository at this point in the history
  • Loading branch information
gwansikk committed Sep 24, 2024
1 parent 7a62395 commit b3e557a
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import Pagination from '@components/common/Pagination/Pagination';
import { TABLE_HEAD, TABLE_HEAD_ACTION } from '@constants/head';
import { usePagination } from '@hooks/common/usePagination';
import { useMemberRole } from '@hooks/queries/member';
import { useMemberInfoModal } from '@pages/ManagePage/hooks/useMemberInfoModal';
import { useMemberPasswordResendModal } from '@pages/ManagePage/hooks/useMemberPasswordResendModal';
import { useMemberPermissionSettingModal } from '@pages/ManagePage/hooks/useMemberPermissionSettingModal';
import { isNumeric } from '@utils/member';
Expand All @@ -40,7 +41,7 @@ const RoleEditView = ({ role }: RoleEditViewProps) => {
sectionName: 'level',
});
const [searchWords, setSearchWords] = useState<string>('');

const { open: memberInfoModalOpen } = useMemberInfoModal();
const { data, refetch } = useMemberRole({
page: page,
size: size,
Expand Down Expand Up @@ -92,6 +93,12 @@ const RoleEditView = ({ role }: RoleEditViewProps) => {
<Badge color={roleColors[role]}>{toKoreaMemberLevel(role)}</Badge>
</Table.Cell>
<Table.Cell className="flex items-center justify-center gap-x-2">
<ActionButton
type="button"
onClick={() => memberInfoModalOpen({ memberId: id })}
>
정보
</ActionButton>
<ActionButton
type="button"
onClick={() =>
Expand Down

0 comments on commit b3e557a

Please sign in to comment.