Merge pull request #131 from blockworks-foundation/swap-review-animation

fix swap review transition
This commit is contained in:
tlrsssss 2023-04-26 13:13:27 -04:00 committed by GitHub
commit 78fcb8ca8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -281,14 +281,14 @@ const SwapForm = () => {
>
<div>
<Transition
className="absolute top-0 left-0 z-10 h-full w-full bg-th-bkg-1 pb-0"
className="absolute top-0 right-0 z-10 h-full w-full bg-th-bkg-1 pb-0"
show={showConfirm}
enter="transition ease-in duration-300"
enterFrom="translate-x-full"
enterFrom="-translate-x-full"
enterTo="translate-x-0"
leave="transition ease-out duration-300"
leaveFrom="translate-x-0"
leaveTo="translate-x-full"
leaveTo="-translate-x-full"
>
<SwapReviewRouteInfo
onClose={() => setShowConfirm(false)}