From 36356e92867e4703492a401a434989c4b934e48a Mon Sep 17 00:00:00 2001 From: Arnei Date: Wed, 3 Jul 2024 09:48:56 +0200 Subject: [PATCH] Add typing to RecordingDetailsModal Add typescript to the RecodringDetailsModal component. --- .../recordings/partials/modal/RecordingDetailsModal.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/recordings/partials/modal/RecordingDetailsModal.tsx b/src/components/recordings/partials/modal/RecordingDetailsModal.tsx index c7dbdff7ce..7f45f0949a 100644 --- a/src/components/recordings/partials/modal/RecordingDetailsModal.tsx +++ b/src/components/recordings/partials/modal/RecordingDetailsModal.tsx @@ -8,9 +8,12 @@ import { useHotkeys } from "react-hotkeys-hook"; * This component renders the modal for displaying recording details */ const RecordingDetailsModal = ({ - close, - recordingId -}: any) => { + close, + recordingId +}: { + close: () => void, + recordingId: string, +}) => { const { t } = useTranslation(); useHotkeys(