Skip to content

Commit 6dd63f1

Browse files
committed
Update react-hotkeys-hook to 5.2.4
We are importing an internal type from react-hotkeys-hook. This type has changed places, so we had to change our import
1 parent b31502f commit 6dd63f1

3 files changed

Lines changed: 28 additions & 15 deletions

File tree

package-lock.json

Lines changed: 26 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"react-chartjs-2": "^5.3.1",
3030
"react-datepicker": "^8.8.0",
3131
"react-dom": "^19.2.3",
32-
"react-hotkeys-hook": "^5.2.1",
32+
"react-hotkeys-hook": "^5.2.4",
3333
"react-i18next": "^16.5.1",
3434
"react-icons": "^5.5.0",
3535
"react-redux": "^9.2.0",

src/components/shared/HotKeyCheatSheet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import React from "react";
22
import { useTranslation } from "react-i18next";
33
import { availableHotkeys } from "../../configs/hotkeysConfig";
44
import { useHotkeysContext } from "react-hotkeys-hook";
5-
import { Hotkey } from "react-hotkeys-hook/packages/react-hotkeys-hook/dist/types";
65
import { Modal, ModalHandle } from "./modals/Modal";
76
import { ParseKeys } from "i18next";
87
import ModalContentTable from "./modals/ModalContentTable";
8+
import { Hotkey } from "react-hotkeys-hook/dist/types";
99

1010
/**
1111
* This component renders the hotkey cheat sheet showing all available hotkeys

0 commit comments

Comments
 (0)