Skip to content

Commit

Permalink
go straight to manual enclave
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Schwartz committed Nov 9, 2023
1 parent 121c779 commit 6a55ce0
Showing 1 changed file with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,22 @@ export const CreateEnclaveButton = () => {
return (
<>
<Menu matchWidth>
<MenuButton as={Button} colorScheme={"kurtosisGreen"} leftIcon={<FiPlus />} size={"md"}>
<MenuButton
as={Button}
colorScheme={"kurtosisGreen"}
leftIcon={<FiPlus />} size={"md"}
onClick={() => navigate(`#${KURTOSIS_CREATE_ENCLAVE_URL_ARG}`)}
>
New Enclave
</MenuButton>
<MenuList>
<MenuItem onClick={() => navigate(`#${KURTOSIS_CREATE_ENCLAVE_URL_ARG}`)} icon={<FiSettings />}>
Manual
</MenuItem>
<MenuItem onClick={() => navigate("/catalog")} icon={<FiPackage />}>
Catalog
</MenuItem>
</MenuList>
{/*<MenuList>*/}
{/* <MenuItem onClick={() => navigate(`#${KURTOSIS_CREATE_ENCLAVE_URL_ARG}`)} icon={<FiSettings />}>*/}
{/* Manual*/}
{/* </MenuItem>*/}
{/* <MenuItem onClick={() => navigate("/catalog")} icon={<FiPackage />}>*/}
{/* Catalog*/}
{/* </MenuItem>*/}
{/*</MenuList>*/}
</Menu>
</>
);
Expand Down

0 comments on commit 6a55ce0

Please sign in to comment.