Skip to content

Commit

Permalink
feat(member): add member info in member manage (#247)
Browse files Browse the repository at this point in the history
* feat(member): add member info in member manage

* Create big-cows-juggle.md
  • Loading branch information
gwansikk authored Sep 24, 2024
1 parent 7a62395 commit 87f6492
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/big-cows-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clab-platforms/member": patch
---

feat(member): add member info in member manage
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 87f6492

Please sign in to comment.