Skip to content

Commit f8b08ca

Browse files
Fix bugs
1 parent a07576b commit f8b08ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/containers/Storage/useStorageQueryParams.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {useEffect} from 'react';
1+
import React from 'react';
22

33
import {StringParam, useQueryParams} from 'use-query-params';
44

@@ -36,7 +36,7 @@ export function useStorageQueryParams() {
3636
queryParams.storageNodesGroupBy,
3737
);
3838

39-
useEffect(() => {
39+
React.useEffect(() => {
4040
if (queryParams.search) {
4141
const patch: Record<string, string | undefined> = {search: undefined};
4242
patch[STORAGE_SEARCH_PARAM_BY_TYPE[storageType]] = queryParams.search;

0 commit comments

Comments
 (0)