next.js
bdfbde5d
- Update revalidatePath.mdx (#54631)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 years ago
Update revalidatePath.mdx (#54631) add if statement, because typescript throws error: revalidatePath require `string`, but `searchParams.get('path')` returns `string|null` type Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
References
#54631 - Update revalidatePath.mdx
Author
krychaxp
Parents
0f822373
Loading