mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add link to delete account page
This commit is contained in:
parent
789cb1d501
commit
e389856a44
1 changed files with 22 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue