We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07576b commit f8b08caCopy full SHA for f8b08ca
src/containers/Storage/useStorageQueryParams.ts
@@ -1,4 +1,4 @@
1
-import {useEffect} from 'react';
+import React from 'react';
2
3
import {StringParam, useQueryParams} from 'use-query-params';
4
@@ -36,7 +36,7 @@ export function useStorageQueryParams() {
36
queryParams.storageNodesGroupBy,
37
);
38
39
- useEffect(() => {
+ React.useEffect(() => {
40
if (queryParams.search) {
41
const patch: Record<string, string | undefined> = {search: undefined};
42
patch[STORAGE_SEARCH_PARAM_BY_TYPE[storageType]] = queryParams.search;
0 commit comments