mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
printWidth: 100
This commit is contained in:
1 parent
d27aeb3b0e
commit
6f4ee009a9
63 files changed
+602
-223
No files matched your search
@@ -6,7 +6,10 @@ interface IRouterLocation {
|
||||
search: any;
|
||||
}
|
||||
|
||||
export const deleteQueryFromLocation = (location: Record<string, unknown> & IRouterLocation, key = '') => {
|
||||
export const deleteQueryFromLocation = (
|
||||
location: Record<string, unknown> & IRouterLocation,
|
||||
key = '',
|
||||
) => {
|
||||
const { query } = url(location.pathname + location.search);
|
||||
return `${location.pathname}/?${qs.stringify({
|
||||
...query,
|
||||
|
||||
Reference in new issue
Block a user