next.js
bdfbde5d - Update revalidatePath.mdx (#54631)

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>
Author
Parents
Loading