mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-29 03:51:45 +03:00
feat:member list init
This commit is contained in:
parent
b837126cea
commit
e3dc089d51
@ -28,13 +28,13 @@ import { WorkspaceUnit } from '@affine/datacenter';
|
||||
import { useTemporaryHelper } from '@/providers/temporary-helper-provider';
|
||||
import { StyledMemberWarp } from './general/style';
|
||||
import { useConfirm } from '@/providers/ConfirmProvider';
|
||||
import { useAppState } from '@/providers/app-state-provider';
|
||||
// import { useAppState } from '@/providers/app-state-provider';
|
||||
|
||||
// import { useAppState } from '@/providers/app-state-provider';
|
||||
export const MembersPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
|
||||
const [isInviteModalShow, setIsInviteModalShow] = useState(false);
|
||||
|
||||
const { currentMetaWorkSpace, currentWorkspace, dataCenter } = useAppState();
|
||||
// const { currentMetaWorkSpace, currentWorkspace, dataCenter } = useAppState();
|
||||
|
||||
const [members, setMembers] = useState<[{ name: string; email: string }?]>(
|
||||
[]
|
||||
|
@ -68,5 +68,6 @@ export const useWorkspaceHelper = () => {
|
||||
publishWorkspace,
|
||||
updateWorkspace,
|
||||
enableWorkspace,
|
||||
inviteMember,
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user