🐛 Don’t encode return path

This commit is contained in:
Luke Vella 2023-09-11 16:04:02 +01:00
parent 7a5f9ae474
commit 6e84082c42

View file

@ -21,7 +21,7 @@ export const UpgradeButton = ({
<input <input
type="hidden" type="hidden"
name="return_path" name="return_path"
value={encodeURIComponent(window.location.pathname)} value={window.location.pathname}
/> />
<Button <Button
className="w-full" className="w-full"