Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "New Round" / "New Project" #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions ui/components/Header/Selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Selector({
leaveTo="transform opacity-0 scale-95"
>
<Menu.Items className="absolute z-10 w-72 mt-2 p-2 origin-top bg-white rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none">
<div className="pb-1 mb-1 border-b-default border-gray-200">
<div className="pb-1 mb-1">
{currentUser?.groupMemberships?.map((groupMember) => {
return (
<Menu.Item key={groupMember.id}>
Expand Down Expand Up @@ -148,17 +148,6 @@ export default function Selector({
);
})}
</div>
<Menu.Item>
{({ active }) => (
<LinkItem
href={`/new-round`}
active={active}
className="text-gray-500 hover:text-gray-900"
>
<FormattedMessage defaultMessage="New Round" />
</LinkItem>
)}
</Menu.Item>
</Menu.Items>
</Transition>
</Menu>
Expand Down