#query search params with href utility

1 messages · Page 1 of 1 (latest)

desert thicket
#

What's the best way to inject query params when using the href utility? Would it be this:

                throw redirect(
                    `${href("/auth/verify-otp")}?email=${encodeURIComponent(email)}`,
                );

I can't find any docs on the matter.

median galleon
desert thicket
#

cool, thanks