make progress bar sticky, fix 'delete account' button
This commit is contained in:
@@ -46,7 +46,7 @@ const ProgressBar = ({ items, currItem, setCurrItem }) => {
|
||||
const rightDisabled = currItem === items.length - 1;
|
||||
|
||||
return (
|
||||
<div className="w-full flex items-center">
|
||||
<div className="w-full flex items-center sticky top-0 bg-white z-10 py-2">
|
||||
<LeftArrowIcon
|
||||
className={classnames(
|
||||
'w-8 h-8',
|
||||
|
||||
@@ -130,7 +130,7 @@ const LoginStage = ({ setCurrItem }) => {
|
||||
<div className="mt-6 flex items-center gap-4">
|
||||
<Button
|
||||
className="h-12 flex justify-center items-center w-[320px] text-black border border-black bg-white hover:bg-gray-100"
|
||||
onClick={deleteAccountHandler(userId, userKey)}
|
||||
onClick={() => deleteAccountHandler(userId, userKey)}
|
||||
>
|
||||
<span className="xl:text-lg">Delete Account</span>
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user