[chore] fix lint errors

This commit is contained in:
MathieuG-P
2023-07-01 03:01:38 +02:00
parent 7addb57613
commit d62727c3f9
55 changed files with 176 additions and 181 deletions
+1 -1
View File
@@ -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(() => {