diff --git a/components/u/ProfileOwnersButton.tsx b/components/u/ProfileOwnersButton.tsx index 3709f83ed..bbf6c883f 100644 --- a/components/u/ProfileOwnersButton.tsx +++ b/components/u/ProfileOwnersButton.tsx @@ -1,15 +1,7 @@ -import { - Button, - HStack, - IconButton, - Popover, - PopoverBody, - PopoverContent, - PopoverTrigger, -} from "@chakra-ui/react"; +import { Box, Button, HStack } from "@chakra-ui/react"; import { Trans } from "@lingui/macro"; import MyLink from "components/common/MyLink"; -import { FiEdit, FiInfo } from "react-icons/fi"; +import { FiEdit } from "react-icons/fi"; import { IoColorPalette } from "react-icons/io5"; import { RiTShirtLine } from "react-icons/ri"; import { CSSVariables } from "utils/CSSVariables"; @@ -28,62 +20,46 @@ const ProfileOwnersButtons = ({ setShowColorSelectors: (isOpen: boolean) => void; }) => { return ( - - - {canPostBuilds && ( + <> + - )} - - {!isColorEditorsButtonClickable ? ( - - - } - marginLeft="5px !important" - /> - - } + variant="outline" + onClick={() => setBuildToEdit(true)} + size="sm" > - - Editing profile colors is available for{" "} - - patrons - {" "} - of tier "Supporter" ($5 dollar tier) - - - - ) : null} - + Add build + + )} + {isColorEditorsButtonClickable ? ( + + ) : null} + + + Editing profile colors is available for{" "} + + patrons + {" "} + of tier "Supporter" ($5 dollar tier) + + ); };