mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[chore] fix lint errors
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { MutableRefObject, useEffect } from "react";
|
||||
|
||||
export function useClickOutside(ref: MutableRefObject<any>, handler: (e: MouseEvent) => void) {
|
||||
export function useClickOutside(ref: MutableRefObject<any>, handler: React.ComponentProps<any>["onClick"]) {
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user