mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Update all dependencies. (#1005)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
export const createUrl = (pathname: string, params: URLSearchParams) => {
|
||||
import { ReadonlyURLSearchParams } from 'next/navigation';
|
||||
|
||||
export const createUrl = (pathname: string, params: URLSearchParams | ReadonlyURLSearchParams) => {
|
||||
const paramsString = params.toString();
|
||||
const queryString = `${paramsString.length ? '?' : ''}${paramsString}`;
|
||||
|
||||
|
Reference in New Issue
Block a user