From aeb9f21b136c6096c57cb7227f01034f33383719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Thu, 3 Jun 2021 11:09:18 +0100 Subject: [PATCH] fix(ui): correct typescript errors --- ui/src/Components/Modal/index.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/Components/Modal/index.test.tsx b/ui/src/Components/Modal/index.test.tsx index c873ab05f..e6e323a3e 100644 --- a/ui/src/Components/Modal/index.test.tsx +++ b/ui/src/Components/Modal/index.test.tsx @@ -28,7 +28,7 @@ const MountedModal = (isOpen: boolean, isUpper?: boolean) => { describe("", () => { it("scroll isn't enabled if ref is null", () => { const useRefSpy = jest.spyOn(React, "useRef").mockImplementation(() => - Object.defineProperty({}, "current", { + Object.defineProperty({} as any, "current", { get: () => null, set: () => {}, })