Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update use-search-params.mdx #55357

Merged
merged 1 commit into from
Jan 6, 2024
Merged

Update use-search-params.mdx #55357

merged 1 commit into from
Jan 6, 2024

Conversation

mass2527
Copy link
Contributor

  1. Since the useSearchParams hook returns a ReadonlyURLSearchParams, the non-null assertion operator ! doesn't serve any purpose here, so I removed it.

  2. We cannot directly pass a ReadonlyURLSearchParams to URLSearchParams. To address this issue easily, I converted it to a string using toString.

@ijjk
Copy link
Member

ijjk commented Sep 14, 2023

Allow CI Workflow Run

  • approve CI run for commit: 6c95a03

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 1   low 0   info 0 View in Orca

@leerob leerob merged commit 0191ef8 into vercel:canary Jan 6, 2024
22 of 26 checks passed
agustints pushed a commit to agustints/next.js that referenced this pull request Jan 6, 2024
@mass2527 mass2527 deleted the patch-2 branch January 7, 2024 07:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants