printWidth: 100

This commit is contained in:
Christopher committed 2021-03-02 21:03:06 +01:00
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,