mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
more formatting
This commit is contained in:
1 parent
046447b0fb
commit
f552c1212c
157 files changed
+635
-1579
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user