mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-26 11:46:51 -05:00
Update useOnClickOutside.ts to remove unrequired effect dependencies (#39751)
This commit is contained in:
@@ -49,5 +49,5 @@ export function useOnClickOutside(
|
||||
};
|
||||
}
|
||||
return () => null;
|
||||
}, [enabled, excludedElement, onClick]);
|
||||
}, [enabled]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user