Update all dependencies. (#1005)

This commit is contained in:
Lee Robinson
2023-05-08 07:22:31 -07:00
committed by GitHub
parent 86dca04eec
commit 3be4f4e6b5
4 changed files with 458 additions and 381 deletions

View File

@@ -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}`;