Fix ESLint errors

This commit is contained in:
adilallo committed 2026-01-28 11:38:38 -07:00
1 parent 2e027f5bb2
commit 6b8d646f8a
82 files changed
+217 -193

No files matched your search

+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;