diff --git a/src/components/spaces/helpers/SpaceDropdownMenu.tsx b/src/components/spaces/helpers/SpaceDropdownMenu.tsx index a9505c747..cf808b9c1 100644 --- a/src/components/spaces/helpers/SpaceDropdownMenu.tsx +++ b/src/components/spaces/helpers/SpaceDropdownMenu.tsx @@ -30,7 +30,7 @@ export const SpaceDropdownMenu = (props: SpaceDropDownProps) => { spaceOwnerId, ...otherProps } = props - const { id } = struct + const { id, ownerId } = struct const spaceKey = `space-${id.toString()}` const canCreatePost = useHasUserASpacePermission({ space: struct, permission: 'CreatePosts' }) const isMySpace = useIsMySpace(struct) @@ -142,6 +142,16 @@ export const SpaceDropdownMenu = (props: SpaceDropDownProps) => { Copy Space Id: {id} +