Filter ongoing

This commit is contained in:
Charles Bochet
2023-04-19 15:21:40 +02:00
parent ff90a3c67b
commit 5a1baf9121
13 changed files with 278 additions and 31 deletions

View File

@ -8,8 +8,6 @@ export function useOutsideAlerter(
) {
useEffect(() => {
function handleClickOutside(event: Event) {
console.log('test3');
const target = event.target as HTMLButtonElement;
if (ref.current && !ref.current.contains(target)) {
callback();