Fix ESLint errors
This commit is contained in:
1 parent
2e027f5bb2
commit
6b8d646f8a
82 files changed
+217
-193
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user