diff --git a/web/invite-links/invite-links-menu.css b/web/components/community-actions-menu.css rename from web/invite-links/invite-links-menu.css rename to web/components/community-actions-menu.css diff --git a/web/invite-links/invite-links-menu.react.js b/web/components/community-actions-menu.react.js rename from web/invite-links/invite-links-menu.react.js rename to web/components/community-actions-menu.react.js --- a/web/invite-links/invite-links-menu.react.js +++ b/web/components/community-actions-menu.react.js @@ -10,11 +10,11 @@ import type { InviteLink } from 'lib/types/link-types.js'; import { threadPermissions } from 'lib/types/thread-permission-types.js'; -import css from './invite-links-menu.css'; -import ManageInviteLinksModal from './manage-invite-links-modal.react.js'; -import ViewInviteLinkModal from './view-invite-link-modal.react.js'; +import css from './community-actions-menu.css'; import MenuItem from '../components/menu-item.react.js'; import Menu from '../components/menu.react.js'; +import ManageInviteLinksModal from '../invite-links/manage-invite-links-modal.react.js'; +import ViewInviteLinkModal from '../invite-links/view-invite-link-modal.react.js'; import { useSelector } from '../redux/redux-utils.js'; import { AddLink } from '../vectors.react.js'; @@ -22,7 +22,7 @@ +communityID: string, }; -function InviteLinksMenu(props: Props): React.Node { +function CommunityActionsMenu(props: Props): React.Node { const { communityID } = props; const inviteLink: ?InviteLink = useSelector(primaryInviteLinksSelector)[ communityID @@ -110,4 +110,4 @@ ); } -export default InviteLinksMenu; +export default CommunityActionsMenu; diff --git a/web/sidebar/community-drawer-item-community.react.js b/web/sidebar/community-drawer-item-community.react.js --- a/web/sidebar/community-drawer-item-community.react.js +++ b/web/sidebar/community-drawer-item-community.react.js @@ -13,7 +13,7 @@ getExpandButton, } from './community-drawer-utils.react.js'; import ThreadAvatar from '../avatars/thread-avatar.react.js'; -import InviteLinksMenu from '../invite-links/invite-links-menu.react.js'; +import CommunityActionsMenu from '../components/community-actions-menu.react.js'; function CommunityDrawerItemCommunity(props: DrawerItemProps): React.Node { const { @@ -88,7 +88,7 @@
{uiName}
- +
{children}