auto open checkout modal

This commit is contained in:
miloschwartz
2026-02-04 21:31:46 -08:00
parent 11408c2656
commit c63589b204
3 changed files with 35 additions and 8 deletions

View File

@@ -28,7 +28,10 @@ export function consumeInternalRedirectPath(): string | null {
return null;
}
const cleaned = cleanRedirect(storedPath, { fallback: "" });
const cleaned = cleanRedirect(storedPath, {
fallback: "",
allowAllQueryParams: true
});
if (!cleaned) return null;
return cleaned.startsWith("/") ? cleaned : `/${cleaned}`;