Fix ESLint errors

This commit is contained in:
adilallo
2026-01-28 11:38:38 -07:00
parent 2e027f5bb2
commit 6b8d646f8a
82 changed files with 217 additions and 193 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import { useClickOutside } from "../../../app/hooks/useClickOutside";
import { useRef } from "react";
describe("useClickOutside", () => {
let handler: ReturnType<typeof vi.fn>;
let handler;
beforeEach(() => {
handler = vi.fn();
@@ -55,7 +55,7 @@ describe("useClickOutside", () => {
});
test("does not call handler when disabled", () => {
const { result } = renderHook(() => {
renderHook(() => {
const ref = useRef(null);
useClickOutside([ref], handler, false);
return ref;