Moved the submit and cancel buttons.

This commit is contained in:
Lucid Kobold
2022-04-03 01:41:17 -05:00
parent 619a839eaa
commit 7ddc48280c

View File

@@ -178,6 +178,13 @@ const AddUpdateSticker = ({
{"Previous"}
</Button>
<HStack w="auto" h="auto" alignContent="center" spacing={6}>
<Button
backgroundColor="transparent"
_hover={{ backgroundColor: "brand.danger" }}
onClick={() => updateIsOpen(!isOpen)}
>
{"Cancel"}
</Button>
<Button
variant="submit"
isDisabled={
@@ -187,13 +194,6 @@ const AddUpdateSticker = ({
>
{"Confirm"}
</Button>
<Button
backgroundColor="transparent"
_hover={{ backgroundColor: "brand.danger" }}
onClick={() => updateIsOpen(!isOpen)}
>
{"Cancel"}
</Button>
</HStack>
</HStack>
)