Add link to delete account page

This commit is contained in:
Jackson Harper 2023-10-02 18:58:02 +08:00
parent 789cb1d501
commit e389856a44

View file

@ -396,6 +396,28 @@ export default function Account(): JSX.Element {
)}
<Button style="ctaDarkYellow">Upgrade</Button>
</VStack> */}
<VStack
css={{
padding: '24px',
width: '100%',
height: '100%',
bg: '$grayBg',
gap: '20px',
borderRadius: '5px',
}}
>
<StyledLabel>Danger Zone</StyledLabel>
<Button
style="ctaDarkYellow"
css={{ color: 'white', background: 'red' }}
onClick={(event) => {
window.location.href = '/settings/delete-my-account'
}}
>
Delete Account
</Button>
</VStack>
</VStack>
</VStack>