signoz/frontend/src/lib/createQueryParams.ts
Palash 5554cce379
feat: exception page is updated (#1376)
* chore: all error utils is added

* chore: error page list is added with total page and other handlings

* test: unit test case for order is added
2022-07-13 19:49:27 +05:30

7 lines
204 B
TypeScript

const createQueryParams = (params: { [x: string]: string | number }): string =>
Object.keys(params)
.map((k) => `${k}=${encodeURI(String(params[k]))}`)
.join('&');
export default createQueryParams;