mirror of
https://github.com/sct/overseerr.git
synced 2025-09-29 21:51:46 +02:00
fix(frontend): new radarr/sonarr ports will be converted to a number before posting
This commit is contained in:
@@ -15,7 +15,7 @@ const useClickOutside = (
|
||||
): void => {
|
||||
useEffect(() => {
|
||||
const handleBodyClick = (e: MouseEvent) => {
|
||||
if (!ref.current?.contains(e.target as Node)) {
|
||||
if (ref.current && !ref.current.contains(e.target as Node)) {
|
||||
callback(e);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user