From 73c7384303c078f504d03ce1392d93742215ca77 Mon Sep 17 00:00:00 2001 From: Jong Date: Sat, 14 Sep 2024 12:57:40 +0900 Subject: [PATCH] fix: hotfix (#219) --- .../services/useGatherMemberProfileListService.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/web-domains/src/home/features/gather-member/services/useGatherMemberProfileListService.tsx b/packages/web-domains/src/home/features/gather-member/services/useGatherMemberProfileListService.tsx index ffe1d5a9..d230ceae 100644 --- a/packages/web-domains/src/home/features/gather-member/services/useGatherMemberProfileListService.tsx +++ b/packages/web-domains/src/home/features/gather-member/services/useGatherMemberProfileListService.tsx @@ -1,5 +1,4 @@ import { useAtomValue } from 'jotai'; -import { debounce } from 'lodash-es'; import { useEffect, useState } from 'react'; import { getWebDomain } from '@/common'; @@ -64,13 +63,7 @@ export const useGatherMemberProfileListService = () => { }, [data]); useEffect(() => { - let filter; - filter = debounce(handleChangeGatherMemberList, 300); - filter(searchInput); - - return () => { - filter = null; - }; + handleChangeGatherMemberList(searchInput); }, [searchInput]); return {