Skip to content

Commit

Permalink
fix: hotfix (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrevile authored Sep 14, 2024
1 parent a9e9d94 commit 73c7384
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useAtomValue } from 'jotai';
import { debounce } from 'lodash-es';
import { useEffect, useState } from 'react';

import { getWebDomain } from '@/common';
Expand Down Expand Up @@ -64,13 +63,7 @@ export const useGatherMemberProfileListService = () => {
}, [data]);

useEffect(() => {
let filter;
filter = debounce(handleChangeGatherMemberList, 300);
filter(searchInput);

return () => {
filter = null;
};
handleChangeGatherMemberList(searchInput);
}, [searchInput]);

return {
Expand Down

0 comments on commit 73c7384

Please sign in to comment.