Skip to content

Commit

Permalink
fix: Redirect Links from App after Verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Wang committed Dec 28, 2023
1 parent ad15503 commit 857407a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ const QRState: FC<Props> = ({ qrData, showQR, setShowQR }) => {
<>
<div className="mb-10 space-y-4 md:hidden">
<motion.a
href={qrData ? qrData + `&return_to=${encodeURIComponent(window.location.href + '#anchor')}` : ''}
href={
qrData
? qrData + `&return_to=${encodeURIComponent(window.location.href + '#prevent_reload')}`
: ''
}
whileTap={{ scale: 0.95 }}
whileHover={{ scale: 1.05 }}
transition={{ layout: { duration: 0.15 } }}
Expand Down

0 comments on commit 857407a

Please sign in to comment.