more formatting

This commit is contained in:
Christopher committed 2021-03-02 20:45:41 +01:00
1 parent 046447b0fb
commit f552c1212c
157 files changed
+635 -1579

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ interface IRouterLocation {
export const addQueryToLocation = (
{ pathname = '', search = '' }: Record<string, unknown> & IRouterLocation,
key = '',
value = ''
value = '',
) => {
const { query } = url(pathname + search);
return `${pathname}?${qs.stringify({
@@ -8,7 +8,7 @@ interface IRouterLocation {
export const deleteQueryFromLocation = (
location: Record<string, unknown> & IRouterLocation,
key = ''
key = '',
) => {
const { query } = url(location.pathname + location.search);
return `${location.pathname}/?${qs.stringify({